Forum Discussion

Ken_SQLDBA's avatar
Ken_SQLDBA
Copper Contributor
Nov 06, 2023
Solved

Get-Service fails but Invoke-Command {Get-Service} succeeds

I'm trying to run a series of PowerShell commands on my desktop computer that connect to one of the corporate servers and checks on the status of the services there. I'm doing a Run As on the PowerSh...
  • Ken_SQLDBA's avatar
    Nov 06, 2023
    Hello everyone,
    I ended up engaging the entire Infrastructure team from my office and we managed to solve the problem by slightly loosening our firewall rules. According to my firewall admin: The firewall rule required ms service controller to be allowed.

    This issue is now resolved. Thanks.

    Ken

Resources