Skip to content

Instantly share code, notes, and snippets.

@timbodv
Last active December 19, 2019 22:38
Show Gist options
  • Select an option

  • Save timbodv/76a7d26aae89164dba0145e8279d5197 to your computer and use it in GitHub Desktop.

Select an option

Save timbodv/76a7d26aae89164dba0145e8279d5197 to your computer and use it in GitHub Desktop.
Office - execute update process.ps1
# NOTE : doesn't appear to work for ConfigMgr managed clients; may be a further command line parameter I need to discover
# update Office silently
Start-Process -FilePath 'C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe' -ArgumentList '/update user updatepromptuser=false forceappshutdown=false displaylevel=false'
# update Office with feedback
Start-Process -FilePath 'C:\Program Files\Common Files\microsoft shared\ClickToRun\OfficeC2RClient.exe' -ArgumentList '/update user updatepromptuser=true forceappshutdown=false displaylevel=true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment