Is -Computername a parameter of Get-Process cmdlet?

Is -Computername a parameter of Get-Process cmdlet? The help file doesn’t says so, but in command it is able to generate -Computername parameter.

Thank you.

It depends on the PowerShell version.

In Windows PowerShell (5.1) there is a parameter named -ComputerName for the cmdlet Get-Process

In PowerShell core (7.1) there is no parameter -ComputerName for the cmdlet Get-Process

Hi Olaf,

Thank you for the reply. So how do one knows the Microsoft online help is refer to powershell core or non-core version?

You’re kidding, aren’t you? :thinking: