Powershell reminder

Enter-PSSession -ComputerName 192.168.0.131 -Credential XX
Get-Counter ‘\Processor(_Total)\% Processor Time’

Save into a PS1 file

Create a short cut
powershell.exe -noexit -ExecutionPolicy Bypass -File “C:\Users\STAFF\Desktop\enter.PS1”

Leave a Reply

Your email address will not be published.