Iis – command line parameter for inetmgr.exe or inetmgr6.exe to specify the remote computer name

command-line-interfaceiisiis-6iis-7

I want to run something like the following and immediately connect to that server.

c:\windows\system32\inetsrv\InetMgr6.exe \servername

or

c:\windows\system32\inetsrv\InetMgr.exe \servername

Best Answer

inetmgr.exe /h shows 2 parameters:

  • /reset which gives no indication of what is being reset bu is described above
  • /mmc which opens in an MMC window. The only difference I could see was the icon for the window. Otherwise it looked the same.

It would be nice if it could take a local URL or Path and open with that location as the default, but doesn't seem to exist.