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