Greetings!
I have never used PS.
I'm trying to get PS script to get processes running on a remote computer.
Microsoft documents have this example "Get-Process -Name PowerShell -ComputerName localhost, Server01, Server02"
But like everything at Microsoft, it is confusing and not clear.
I tried this:
Nothing is working...
Thank you
I have never used PS.
I'm trying to get PS script to get processes running on a remote computer.
Microsoft documents have this example "Get-Process -Name PowerShell -ComputerName localhost, Server01, Server02"
But like everything at Microsoft, it is confusing and not clear.
I tried this:
Code:
Get-Process powershell -ComputerName someone-desk2
Get-Process powershell -someone-desk2
Get-Process powershell -ComputerName localhost,someone-desk2
Thank you