The following example is a function called Get-SmallFiles
. This function has a $size
parameter. The function displays all the files that are smaller than the value of the $size
parameter, and it excludes directories:
function Get-SmallFiles { Param($Size) Get-ChildItem $HOME | Where-Object { $_.Length -lt $Size -and !$_.PSIsContainer }
}
The following example is a function called Get-SmallFiles
. This function has a $size
parameter. The function displays all the files that are smaller than the value of the $size
parameter, and it excludes directories:
function Get-SmallFiles { Param($Size) Get-ChildItem $HOME | Where-Object { $_.Length -lt $Size -and !$_.PSIsContainer }
}
status | not learned | measured difficulty | 37% [default] | last interval [days] | |||
---|---|---|---|---|---|---|---|
repetition number in this series | 0 | memorised on | scheduled repetition | ||||
scheduled repetition interval | last repetition or drill |