1
vote
1answer
86 views

Trying to list out Web services, Web sites, and App Pools - Windows Server 2003

I am curious on how i would list out Web services, Web sites, and App Pools to a .txt file on a Windows Server 2003 machine. I have Powershell 2.0 configured and have been trying to run some scripts ...
1
vote
2answers
1k views

IIS 6.0 Windows Server 2003 - how to iterate through all websites using powershell?

How can I iterate through all the websites hosted on an IIS 6.0 (Windows Server 2003) using powershell? Is there a way to do it using WmiObject ? Thanks!
1
vote
0answers
89 views

iis6 silent installation from a remote machine

I am trying to install iis6 on a remote machine running windows 2003 through powershell remoting. It does not seem to work. The same script works fine when run from the local machine. I have been ...
1
vote
2answers
1k views

How can I update HTTP custom headers in IIS6 using Powershell?

I have the following Powershell script which uses WMI to update the HTTP custom headers on a website in IIS 6. The script seems to work fine, no errors generated, and the resultant $website object ...
2
votes
1answer
2k views

Are there any Powershell modules specifically for IIS6 administration?

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 ...
1
vote
1answer
298 views

Can powershell be used to install SMTP service for IIS 6 and configure the options

I want to install the SMTP service for IIS 6 on windows server 2003. The GUI process is explained here on technet. Then I want to configure the properties (e.g. first retry interval) and create new ...
0
votes
1answer
319 views

Programmatically assigning an existing ssl cert to a website in iis6 via powershell or vbscript

I have the following powershell script that creates a new website in IIS6: https://github.com/dagda1/iis6/blob/master/create-site.ps1 Does anyone know how I can assign an existing ssl cert to the ...
0
votes
2answers
550 views

Backup IIS6 With PowerShell and WMI

I am trying to backup IIS6 with PowerShell, I have found the method I am after in WMI's IISComputer.BackupWithPassword however when I try to execute it with the following PowerShell: $IISComputer = ...
2
votes
2answers
2k views

Integrated Authentication in IIS 6 from the command line

In deploying a new version of our ASP.NET application, we need to set the authentication method for a particular page to be "Integrated only." We can do this from the IIS managment console, but would ...
2
votes
2answers
2k views

IIS Compression: Enable GZIP and DEFLATE using Powershell

How does one do the following things with IIS 5.1/6.0 using PowerShell: Enable HTTP Compression Set GZIP and DEFLATE file extensions Enable Dynamic and Static compression for GZIP and DEFLATE Set ...