Advertisement
CPB2017

Powershell 2 D

Jun 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. date | Out-File "C:\Program Files\NSClient++\scripts\powershell\topcpu.txt" -append
  2. Get-Process | Sort CPU | Select -last 10 | Out-File "C:\Program Files\NSClient++\scripts\powershell\topcpu.txt" -append
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement