PowerShell for Windows Admins

Nov 28 2013   3:28PM GMT

Get-Process in PowerShell 4

Richard Siddaway Richard Siddaway Profile: Richard Siddaway

If you use Get-Process in PowerShell v3

£> Get-Process powershell

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
——- —— —– —– —– —— — ———–
516 17 49436 59220 233 8.86 7100 powershell

PowerShell v4 enables you to see the user account associated with the process

£> Get-Process powershell -IncludeUserName

Handles WS(K) VM(M) CPU(s) Id UserName ProcessName
——- —– —– —— — ——– ———–
593 214888 823 17.27 2148 MANTICORE\richard powershell

Now we have an easy way to discover who started a process

 Comment on this Post

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when other members comment.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network: