PowerShellASP is a powerful tool for generating web pages with PowerShell. It allows you to insert PowerShell script directly into a webpage (a .ps1x page), that code will be executed and the resulting powershell objects are renderable in your page. It also exposes familiar $response, $request, $server, etc. for accessing response, request, and other information about the HTTP context.

This example shows how to use PowerShellASP to generate an RSS podcast feed. The dir command in PowerShell (get-childitem) is used to get a listing of files to use as enclosures in the feed.