Commit Graph

3 Commits

Author SHA1 Message Date
gsadmin a9479d2faa Use cached downloads as-is and follow redirects to the resolved download URL
- Skip the web request entirely when the destination file already exists: the cached file is always used and never automatically updated (delete the local file to force a fresh download)
- Only contact the download URL when a download is actually required, with a 30 second metadata request timeout and explicit redirect following
- Download directly from the resolved post-redirect URL (mirror style URLs commonly redirect)
- An unreachable download URL is only fatal when no local copy of the file exists

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 16:58:37 -04:00
gsadmin a7105300d0 Make download URL check non-fatal when a local copy exists and only use a proxy when one actually applies
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 16:50:23 -04:00
gsadmin 8889f41c7c Refactor to script template and toolkit flow with PS7 compatibility
- Adopt the standardized Toolkit layout (Toolkit.ps1 + Functions/Modules/Libraries/Tools)
- Replace the legacy NLog-era Registry.dll with Eric Zimmerman Registry 2026.5.0 (netstandard2.0) for offline hive parsing without mounting; libraries are loaded into memory in dependency order (byte load on Windows PowerShell 5.1, dedicated AssemblyLoadContext stream load on PowerShell 7)
- Rewrite Invoke-RegistryHiveAction with a case-insensitive ValueTable contract for direct value name indexing
- Rewrite Invoke-FileDownloadWithProgress with automatic system proxy detection and progress reporting
- Convert Copy-ItemWithProgress, Get-InstalledSoftware, and the MSI helper functions to the toolkit logging and error handling patterns
- Add opt-in QEMU guest agent installation from the mounted ISO (full operating system only, version-aware, REBOOT=ReallySuppress)
- Remove the task sequence variable parameters from the script surface while retaining the toolkit functionality
- Update README with structure, usage, and OS deployment guidance (DeployR/MDT/SCCM two-pass flow, pwsh.exe for DeployR boot images)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-19 14:38:29 -04:00