Processes on a remote machine

Get the currently running processes on a remote (ms) machine using WMI and PS:

PS C:\> Get-WmiObject -query "select * from win32_process" -computer ADRIAN | sort -property ProcessName | format-list ProcessName,Path


ProcessName : acrotray.exe
Path : C:\Programme\Adobe\Acrobat 8.0\Acrobat\Acrotray.exe

ProcessName : alg.exe
Path :
[..]

I didn’t think using WMI in PS would be that easy. I’m currently writing a network documentation for a customer and using WMI to collect data is quite useful..

Advertisements

0 Responses to “Processes on a remote machine”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s





%d bloggers like this: