3 ms·
> Get-ChildItem . | Sort-Object -Property Length > where is a file and what is the biggest in a folder You don't need to use the full commands and parameters.
by delta_p_delta_x 4y ago
> Get-ChildItem . | Sort-Object -Property Length
> where is a file and what is the biggest in a folder
You don't need to use the full commands and parameters. The commands have aliases, and parameters can be arbitrarily short (and case-insensitive) as long as they are unambiguous:
gci . | sort Length
gci . -r -inc <filename>
Furthermore, the PowerShell interpreter has an extremely powerful autocomplete, so these should be straightforward to look up.
- sumtechguy 4y agoThank you for the tip.