Can you use DCOM instead? Get-WmiObject and Get-CimInstance (with an appropriately configured CIM session) might be alternatives.
What other approach is there in remote starting IIS service if WinRM is disabled
Robert Mallare
1
Reputation point
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