Repair Office 365 Install from CLI

If you are anything like me, you'd rather solve a problem for someone without having to spend an hour on the phone. Well, enter CLI fixes for Office 365! CD to a directory (below) and run a command!

cd 'C:\Program Files\Microsoft Office 15\ClientX64'
.\OfficeClickToRun.exe scenario=Repair DisplayLevel=false RepairType=quickRepair forceappshutdown=true

If for some reason you need to run a full repair (which usually is my preferred option), this is the better second command.

.\OfficeClickToRun.exe scenario=Repair DisplayLevel=false RepairType=FullRepair forceappshutdown=true

Have fun avoiding your users!