Home
Printer
Misc
Adobe
Vinfen Links Shortcut
Reinstall O365
Cx360 Shortcut
Create Vinfen Links Shortcut
<# .SYNOPSIS A script to automate the reinstallation of Office 365. .DESCRIPTION This script downloads the installation zip file from a given URL, expands the zip, runs the necessary batch files, and finally cleans up the directory after installation. .AUTHOR Quentin Cachon .DATE July 2023 #> $installPath = "C:\Users\Public\Vinfen\" if (-not (Test-Path -Path $installPath -PathType Container)) { [System.IO.Directory]::CreateDirectory($installPath) } $zipFilePath = $path + "\O365Reinstall.zip" $reinstallURL = "https://vinfenmisc.blob.core.windows.net/central/ReinstallO365.zip" Invoke-WebRequest -Uri $reinstallURL -OutFile $zipFilePath Expand-Archive -Path $zipFilePath -DestinationPath $installPath -Force Remove-Item -Path $zipFilePath Start-Process -FilePath "C:\Users\Public\Vinfen\remove.bat" -Wait Start-Process -FilePath "C:\Users\Public\Vinfen\configure.bat" -Wait