Skip to content

Instantly share code, notes, and snippets.

@bradbrowne
Created September 12, 2018 01:34
Show Gist options
  • Save bradbrowne/94ecb6227cbeb12b91a28b5a5c8b2a1b to your computer and use it in GitHub Desktop.
Save bradbrowne/94ecb6227cbeb12b91a28b5a5c8b2a1b to your computer and use it in GitHub Desktop.
PowerShell top 5 memory usage in GB
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