Note: Most advanced O365 admin tasks (user creation, license assignment) require , not Cmd. However, Cmd is useful for installation and basic repair. Managing Office 365 from Command Prompt (Cmd) 1. Install Office 365 (Click-to-Run) You need the Office Deployment Tool (ODT) . Download it from Microsoft, then extract setup.exe .
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX Quick repair (no internet required): office 365 cmd
setup.exe /configure installConfig.xml
cd "C:\Program Files\Microsoft Office\root\Office16" cscript ospp.vbs /act Note: Most advanced O365 admin tasks (user creation,