I'm looking to manage/administer many IIS6 servers remotely via Powershell (query sites, iis settings, etc).

Is this possible? Is there a Microsoft-supported module out there? Or do I have to use WMI-Object/WebAdministration?

If so, could some one give me some quick instructions on doing some simple "get info" commands in Powershell to a remote IIS6 machine?

(It's frustrating that there is a nice IIS7/Microsoft-supported module out there: http://learn.iis.net/page.aspx/428/getting-started-with-the-iis-70-powershell-snap-in/ But not an IIS6 one easily found.)


The scripting options have gotten better over time, and with IIS7 they got much better yet. You're right it's sure nice for IIS7, but that puts IIS6 behind.

In IIS6, you can use WMI through Powershell, or else you can script using WMI or ADSI over WSH.

I would start here, here and here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.