adds OfficeStaging and SystemTemp

This commit is contained in:
2026-10-23 12:25:00 -04:00
parent f9daec0542
commit e2163a6158
4 changed files with 229 additions and 9 deletions
+3
View File
@@ -2,6 +2,7 @@
# Configure these [string] Dropdown variables in Syncro, each with true/false choices:
# [string]$CleanupReportOnly - true (default: assess all), false (apply enabled only)
# [string]$CleanupSystemTemp - true (default), false
# [string]$CleanupOfficeStaging - true (default), false; uses CleanupTempDays
# [string]$CleanupUserTemp - true (default), false
# [string]$CleanupServiceTemp - true (default), false
# [string]$CleanupCBSArchives - true (default), false
@@ -48,6 +49,8 @@
# Verbose output can exceed Syncro's output limit. No new Syncro variables are needed.
# Server-blocked categories are listed without assessment. Native savings may be unknown.
# Server exclusions cannot be overridden by these variables. No reboot is initiated.
# OfficeStaging checks Windows Temp/SystemTemp, execution/profile temp and legacy ProgramData.
# Only recognized, aged installer media is eligible; active deployments and user helpers are protected.
$ErrorActionPreference = 'Stop'
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12