Collections:
Other Resources:
"Sort-Object" Cmdlet in Windows PowerShell
What is the "Sort-Object" cmdlet in Windows PowerShell?
✍: FYIcenter.com
"Sort-Object" cmdlet in Windows PowerShell takes an input of object list
and generate an output object list by sorting objects according to specified properties.
For example, the following command uses the "sort-object" cmdlet to sort a Process object list by the CPU property:
PS C:\fyicenter> get-process | sort-object -property CPU
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
33 1 344 452 3 308 smss
353 9 8604 7804 50 588 services
1125 38 55008 30004 252 6740 SearchIndexer
453 9 8156 7144 50 832 svchost
417 8 5128 4684 57 712 svchost
528 17 11600 9160 104 1920 spoolsv
156 6 16016 1328 123 2380 PresentationFontCache
...
⇒ "Select-Object" Cmdlet in Windows PowerShell
⇐ Cmdlet Output Object List in Windows PowerShell
2016-11-04, ∼4775🔥, 0💬
Popular Posts:
How to get file properties in Windows PowerShell? I want to know when the file was originally create...
What is PHP? PHP is a widely-used general-purpose scripting language that is especially suited for W...
What is HelpHost.exe - Microsoft Help Center Hosting Server? HelpHost.exe is the executable binary f...
How to connect your computer to a wireless router? Here are the steps of how to connect your compute...
How to create your PHP configuration file, php.ini? If you have followed our Installing PHP Engine t...