'PowerShell 7.2 Get-Service Not Working on Remote Server
I am trying to get to a Windows service on a remote server and I am using the following command-
Get-Service -ComputerName $ComputerName -Name $ServiceName
Running this throws the following exception-
System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'ComputerName'.
I am using PowerShell 7.2.
Thank you, Bill
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
