Forum Discussion
J. M.
Feb 01, 2018Copper Contributor
Script to automatic download for Setup.exe
Hello
Is there a scripts which automatically downloads the Setup.exe of Office ProPlus.
Thanks
J. M.
Andrew Price
Feb 13, 2018Brass Contributor
Hi,
I have developed a script for my personal use which is menu driven and has a number of good features. I can possibly share offline
One of the good features is that you can download the Office Deltas using preconfigured xml files I have stored on a FTP site straight to your client machine.
Andrew Price
Feb 13, 2018Brass Contributor
Or you can script the download of the setup.exe using the following
# Download Official Deployment Tool
$DeploymentTool = "$env:USERPROFILE\Downloads\officedeploymenttool.exe"
$SourceDeployment = 'https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_8529.3600.exe'
# Script Execution
$client = new-object -TypeName System.Net.WebClient
$client.DownloadFile($SourceDeployment,$DeploymentTool)