A collection of useful PowerShell scripts to make deploying Office 2016 and Office 365 ProPlus easier for IT Pros and administrators. If you have any feature requests or ideas for future scripts please add the idea to the issues list in this repository
The Offscrub10.vbs script does not remove Microsoft Lync 2010. The logic in the Remove-PreviousOfficeInstalls.ps1 script tries to use that vbs to remove Lync 2010.
The following code from line 563 can be removed...
The Offscrub10.vbs script does not remove Microsoft Lync 2010. The logic in the Remove-PreviousOfficeInstalls.ps1 script tries to use that vbs to remove Lync 2010.
The following code from line 563 can be removed...
` switch($LyncProduct.Version){
...and replaced with:
Start-Process -FilePath msiexec.exe -ArgumentList "/X$LyncProductName /qn REBOOT=ReallySuppress" -NoNewWindow -Wait
This will remove what Lync version code is detected.