What other approach is there in remote starting IIS service if WinRM is disabled

Robert Mallare 1 Reputation point
2021-12-02T16:27:23.46+00:00

Hi,

Our team created a powershell script that restart the iis service of our 12 windows backend servers remotely.

It was determined that WinRM is disabled in our Group Policy in each of our 12-servers for many good reasons (security mainly) which prevents our automated powershell script to execute remotely/locally in those 12-servers.

Enabling WinRM is not an option for our Security group and they remain steadfast that it will remain disabled.

What other options/alternative that we can use and explore in restarting our iis service in an automated fashion?

Thanks
Rob M

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,273 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rich Matheisen 43,926 Reputation points
    2021-12-02T19:40:06.49+00:00

    Can you use DCOM instead? Get-WmiObject and Get-CimInstance (with an appropriately configured CIM session) might be alternatives.

    0 comments No comments