Created
September 12, 2018 01:34
-
-
Save bradbrowne/94ecb6227cbeb12b91a28b5a5c8b2a1b to your computer and use it in GitHub Desktop.
PowerShell top 5 memory usage in GB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-Process -computername COMPUTERNAME | Sort-Object -Descending WS | select -first 5 | select name, description, @{l="Private Memory (GB)"; e={$_.privatememorysize / 1gb}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment