Properly support powershell scripts in SCE.