Add run summary, Delivery Optimization diagnostics, and Settings Catalog policy state#20
Open
YeehomZhu wants to merge 1 commit into
Open
Conversation
…Settings Catalog policy state Intune.xml: - Add Delivery Optimization commands (Get-DeliveryOptimizationStatus, PerfSnap, DOConfig, bandwidth caps) - Add Microsoft-Windows-DeliveryOptimization event log capture - Add PolicyManager registry exports: current, providers, AdmxInstalled, AdmxDefault (Settings Catalog state) IntuneODCStandAlone.ps1: - Add Write-RunSummary function generating _SUMMARY.txt at root of collected data - Captures ODC version, run duration, OS, file count, total size - Surfaces key health indicators (AAD/Domain/Workplace join, IME service, MDM cert expiry, free disk space, ODC log errors) - Items flagged with [!] for quick triage
0da7f2a to
4a3a3f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three improvements to make ODC ZIPs faster to triage and to fill diagnostic gaps for common Intune support cases.
Changes
1. Run summary (
_SUMMARY.txt) at root of collected dataNew
Write-RunSummaryfunction inIntuneODCStandAlone.ps1writes a one-page summary at the root of the ZIP so engineers see device state at a glance:[!]for quick triage (e.g., IME stopped, cert expiring within 30 days, free space < 5 GB)2. Delivery Optimization diagnostics (Intune.xml)
For diagnosing Win32 app / update download issues:
Get-DeliveryOptimizationStatus,Get-DeliveryOptimizationPerfSnap,...ThisMonthGet-DOConfig -Verbose,Get-DOPercentageMaxBackgroundBandwidth,Get-DOPercentageMaxForegroundBandwidthMicrosoft-Windows-DeliveryOptimization*event log capture3. Settings Catalog / Policy CSP state (Intune.xml)
Full export of effective policy state:
HKLM\SOFTWARE\Microsoft\PolicyManager\current(effective policy values)HKLM\SOFTWARE\Microsoft\PolicyManager\providers(per-provider ownership)HKLM\SOFTWARE\Microsoft\PolicyManager\AdmxInstalled(Settings Catalog ADMX-backed policies)HKLM\SOFTWARE\Microsoft\PolicyManager\AdmxDefault(defaults for comparison)Why
PolicyManager\current\devicesubset is captured