baksatibi

Untitled

Sep 19th, 2015
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. param(
  2.     [Parameter(Mandatory=$true)]
  3.     [string]$name
  4. )
  5.  
  6. $c = 0
  7.  
  8. get-content $name | foreach-object { $_.split(',') | measure-object -Average } | select-object -ExpandProperty Average
Advertisement
Add Comment
Please, Sign In to add comment