fix more issues with the scrubber and product install status

This commit is contained in:
2026-10-30 15:35:38 -04:00
parent 0c614596f8
commit f2830cb10a
8 changed files with 474 additions and 59 deletions
+8
View File
@@ -0,0 +1,8 @@
#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
+2 -1
View File
@@ -6,7 +6,8 @@
# [string]$ValidateBeforeChanges - true (default: validate only), false (remove/reinstall)
# Assessment checks writable paths and HTTP HEAD 200; it creates no deployment directory or downloads.
# Deployment clears prior run artifacts, downloads fresh media before uninstalling, and leaves only logs.
# Confirmed ODT removal corruption or residual state can trigger one Microsoft Get Help scrub.
# Only registered Click-to-Run products require removal; service/registry remnants alone do not.
# Failed removal with products remaining can trigger one Microsoft Get Help scrub.
# Scrub downloads are on demand, may display a child window, and honor DeferReboot after verification.
# Background scrub waits up to 30 minutes plus verification within Syncro's overall limit.
# Leave its window open during removal; dismiss a completed 'Press any key to exit' prompt.