#Requires -Version 5.1 # Run as SYSTEM. Collects the last 72 hours of Office logs and current state into # ProgramData\Emberkom\Logs\OfficeDiagnostics. No operator inputs are required. # Does not install, uninstall, close apps, or launch the deployment script. $ErrorActionPreference = 'Stop' [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 . $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1'))) Run-Script -LivePSScript Get-OfficeDeploymentDiagnostics