PowerShell improvements