This just calls and shows the Office repair GUI and then i can choose quick or full repair etc etc.
But i NEED a powershell script, which can do the QUICK and the FULL without userintevention. Silent, i think it is called, but i CANT find any powershell scripts to do this.
The PowerShell script will be identical, or very close to it (depending on whether you run into any weird behavior with parsing the command-line arguments, which sometimes happens.)
To make the update silent, change the parameter I mentioned. It should be DisplayLevel=False , not DisplayLevel=True
Tjeck for office 2013 installation.
IF Office 2013 is installed, remove Office 2013 and Install/upgrade to Office 365 (Path to setup.exe etc)
ELSE run Office Quickrepair with finish dialog “Repair done”
End of script