This script is for updating the cached files for Office Click-to-Run installs. In our environment, we are Office 365 subscribers and we wish to use the Click-to-Run version of Office. There is an Office Deployment Tool for Click-to-Run (a version for Office 2013 and a version for Office 2016). This script clears out the cached items, runs the downloaders to get the latest build of Office, then replicates it out to the deployment folders for you (so you don't have to then run the UpdateMedia.ps1 script).

In our environment, we store the Office "bundle" in the following directory structure:

• \Source.Apps\Microsoft\MSFT.Office365.16.ProPlus
• \Source.Apps\Microsoft\MSFT.Office365.16.ProPlus.DeploymentTool
• \Source.Apps\Microsoft\MSFT.Office365.ProPlus
• \Source.Apps\Microsoft\MSFT.Office365.ProPlus.DeploymentTool

The *.ProPlus folders hold the downloaded cache of installation files. The *.ProPlus.DeploymentTool folders hold the deployment tools themselves and associated scripts.