question

RobertMallare-8505 avatar image
0 Votes"
RobertMallare-8505 asked RichMatheisen-8856 answered

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

RichMatheisen-8856 avatar image
0 Votes"
RichMatheisen-8856 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.