PowerShell Basics

Unlocking the new Power in the Microsoft Shell

Archive for the ‘QuickTip’ Category

Using PowershellASP

Wednesday, July 16th, 2008

There is a new toy out in the PowerShell Community - PowerShellASP.

You can find the description on the website, but there has been some question as to how to get it working.

The easiest way I’ve found is to work off the demo provided, where the web.config

file is all set up. 

What you need to do for IIS 6, is:

    CreateApplication
  • Update the configuration

UpdateConfiguration

  • Add the ps1x extension and the executable of “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll”

AddExtension

  • (If you are using the sample files this is done already) Update the web.config file with
  • <httpHandlers>
                <add verb=”*” path=”*.ps1x” type=”PowerShellToys.PowerShellASP.PSHandler, PowerShellToys.PowerShellASP”/>
            </httpHandlers>

    And you should be ready to run PowerShellASP pages.

New-Feature “PowerShell Quick-Tip” | Out-RSS

Tuesday, April 29th, 2008

I’m a bit behind on releasing regular shows, so I’ve added a short feature, where we can briefly review a cmdlet or particular function of the cmdlet.

 Thanks for staying tuned!

 
icon for podpress  PowerShell Basics Quick Tip [3:13m]: Play Now | Play in Popup | Download