Author Posts

October 26, 2017 at 9:10 am

Hi Guyz,

i need help. i want a powershell script to start iis of my virtual machine through my local machine.

If anybody know how to do then please reply.


October 26, 2017 at 10:56 am

What version of windows is your local machine and VMs? Are you using Hyper-V

October 26, 2017 at 12:04 pm


A simple way to start IIS remotely is to use:

Invoke-Command -ComputerName NameOfComputer -Scriptblock { iisreset /start }