Syphirint Syphirint - 1 year ago 176
PowerShell Question

Powershell Get-Process missing parameter?

Currently I'm working on

Windows Server 2012 R2
Powershell 4.0
and can execute
Get-Process -IncludeUserName
while using elevated user rights as an admin. But when I try running the same command on a
Windows Server 2008 R2
Powershell 3.0
while using the same elevated user rights, the parameter
isn't found. What's missing on the 2nd system for executing the command?

Answer Source

According to the Technet Article for get-process the -IncludeUserName parameter was not available in the get-process cmdlet until Powershell 4. You'll need to install the updated version in order to gain access to that feature.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download