Monitor CPU time on Server 2008 with powershell


looking help. need monitor cpu time in real time on server 2008 box remotely particular process. if cpu time has not changed process stop process. use powershell cannot find correct commands like. hoping in community offer help.

hi,

you can try get-conter:

get-counter -counter "\\computername\process(processname)\% user time" -sampleinterval 2 -maxsamples 100

for more information:
http://technet.microsoft.com/en-us/magazine/ee872428.aspx

thanks.


this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

directory stack

PowerShell List

Dns access list