Powershell corrections