Skip to content

segupta003341/MAUCacheAdmin

 
 

Repository files navigation

MAUCacheAdmin

Microsoft AutoUpdate Cache Admin

Purpose: Downloads MAU collateral and packages from the Office CDN to a local web server
Usage: MAUCacheAdmin --CachePath:<path> [--CheckInterval:<minutes>] [--HTTPOnly] [--NoPackages] [--NoCollateral] [--ShowCollateral] [--CopyCollateralFrom:<from Folder>] [--CopyCollateralTo:<to Folder>] [--InsiderSupport]
Example: MAUCacheAdmin --CachePath:/Volumes/web/MAU/cache --CheckInterval:60
Example: MAUCacheAdmin --CachePath:/Volumes/web/MAU/cache --ShowCollateral
Example: MAUCacheAdmin --CachePath:/Volumes/web/MAU/cache --CopyCollateralFrom:15.27.16101000 --CopyCollateralTo:Production

maucache.service

A simple systemd server to launch MAUCacheAdmin at boot with a 15 minute interval and auto-restart upon a failure.

This service was written and tested on Ubuntu 16.04 using Nginx. The MAUCacheAdmin script is assumed to be located in /usr/local/. Update these values accordingly.

The ExecStopPost line has an optional mail command to notify an email address if the service stops. Remove this line if you do not wish to use this option.

To use this service write the maucache.service file to /lib/systemd/system/ and run the following commands:

sudo systemctl enable maucache.service
sudo systemctl daemon-reload
sudo systemctl start maucache.service
sudo systemctl status maucache.service

psMacUpdatesOFFICE.ps1

A PowerShell port of the MAUCacheAdmin script from Adam and David from The University of Newcastle in Australia PowerShell.exe -executionpolicy bypass -file psMacUpdatesOFFICE.ps1 -channel Production -IISRoot C:\inetpub\wwwroot -IisFolder maucache -TempShare C:\Temp

About

Microsoft AutoUpdate Cache Admin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 63.1%
  • PowerShell 36.9%