Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rossarioking/297b1761d07a03919150d14397e07c93 to your computer and use it in GitHub Desktop.
Save rossarioking/297b1761d07a03919150d14397e07c93 to your computer and use it in GitHub Desktop.
Monitoring Memory Usage with Powershell
Get-Counter '\Memory\Available MBytes' -Continuous | ForEach-Object {Write-Host "Available Memory: $($_.CounterSamples[0].CookedValue) MB"; Start-Sleep -Seconds 10}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment