Scripts and C# extensions for PowerShell