Ying Li at myITforum.com

PowerShell & System Center

IIS7 PowerShell Provider CTP2 Released

Microsoft released PowerShell Provider CTP2 for IIS7 yesterday and you can download it Here

I just installed it on my Vista SP1 machine. It installs without issue (Require you turn on IIS7 and Windows Process Activation Service of course)

I played with it a few and here is how you find your way around

PS IIS:\> dir

SslBindings (this is new to CTP2)

PS IIS:\> cd sites
PS IIS:\Sites> dir

Name             ID   State      Physical Path                  Bindings
----             --   -----      -------------                  --------
Default Web Site 1               %SystemDrive%\inetpub\wwwroot

PS IIS:\Sites> cd ..
PS IIS:\> cd apppools
PS IIS:\AppPools> dir

Name                     State        Applications
----                     -----        ------------
DefaultAppPool           Started      Default Web Site

PS IIS:\> get-command
Type: AppPools

CommandType     Name                            Definition
-----------     ----                            ----------
Cmdlet          Add-Content                     Add-Content [-Path] <String[...
Cmdlet          Add-History                     Add-History [[-InputObject] ...
Cmdlet          Add-Member                      Add-Member [-MemberType] <PS...
Cmdlet          Add-Module                      Add-Module [-Name] <String[]...
Cmdlet          Add-PSSnapin                    Add-PSSnapin [-Name] <String...
Cmdlet          Add-Type                        Add-Type [-TypeDefinition] <...
Cmdlet          Add-WebConfiguration            Add-WebConfiguration [-Filte...
Cmdlet          Add-WebConfigurationProperty    Add-WebConfigurationProperty...
Cmdlet          Backup-WebConfiguration         Backup-WebConfiguration [-Na





I wish I will have a production IIS7 environment soon so I could explore this further. I have a feeling it’s going to be very cool!

Posted: Jul 03 2008, 08:20 PM by yli628 | with no comments
Filed under:


No Comments