Fix guard powershell for updates