Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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: But not an IIS6 one easily found.)

share|improve this question
up vote 3 down vote accepted

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.

share|improve this answer
Thanks! This should get me started. – program247365 Jan 16 '11 at 5:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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