Try { Start-Process "gpupdate" -ArgumentList '/force' -Wait } Catch { Write-Error $_.Exception.Message }