Welcome › Forums › General PowerShell Q&A › Office 2013/365 quick and full repair powershell
This topic contains 4 replies, has 2 voices, and was last updated by
-
AuthorPosts
-
October 21, 2014 at 4:28 am #19901
Hi,
I have a challenge i cant get through.
I have searched the net for a powershell script to QUICK repair and FULL repair a office 2013 and 365 installation, and i CANT find anything on this. :/
Currently i have a batch file with this:
"C:\Program Files\Microsoft Office 15\ClientX64\OfficeClickToRun.exe" scenario=Repair platform=x86 culture=en-us scenario=Repair DisplayLevel=True
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.
Can anyone help?
Thx
-
October 21, 2014 at 5:09 am #19903
Check out this blog post: http://blogs.technet.com/b/office_resource_kit/archive/2013/06/17/automating-quick-repairs-in-office-365-proplus.aspx . It looks like all you have to do is change "DisplayLevel=True" to "DisplayLevel=False"
You can run OfficeClickToRun.exe from PowerShell, if you like. Either way, that program's going to be doing most of the work.
-
October 21, 2014 at 5:12 am #19904
Hi, as mentioned this IS the current solution with the bat file.
I need a powershell script which does this all silent.
OR upgrading the office 2013 to 356 silent!
-
October 21, 2014 at 5:18 am #19906
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
-
October 21, 2014 at 11:01 pm #19939
Hi Dave,
and thx for your reply.
The situation has changed now, because we only must use Office 365!
I need the following powershell script and i cant figure out how to make this.
———— pseudo powershell repair code ———-
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——————————————————————
Can someone help me with this?
-
AuthorPosts
The topic ‘Office 2013/365 quick and full repair powershell’ is closed to new replies.