Difference between revisions of "Functions"
From MyWiki
Line 1: | Line 1: | ||
http://windowsitpro.com/windows/create-your-own-powershell-functions<br><br> | http://windowsitpro.com/windows/create-your-own-powershell-functions<br><br> | ||
function FileSize3 ($dir, $minSize) | function FileSize3 ($dir, $minSize) | ||
− | \{ | + | \{<br> |
− | dir $dir | | + | dir $dir |<br> |
− | where \{$_.length -gt $minsize\} | + | where \{$_.length -gt $minsize\}<br> |
− | \} | + | \}<br> |
Revision as of 19:22, 26 August 2014
http://windowsitpro.com/windows/create-your-own-powershell-functions
function FileSize3 ($dir, $minSize)
\{
dir $dir |
where \{$_.length -gt $minsize\}
\}