modified powershell