Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.)

share|improve this question

1 Answer 1

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

 
discard

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.