Invoke-IntuneDiagExtender
1.5.0
administrator-selected files, complete directory archives and registry
exports in the Windows Temp location that Intune collects. Intended for
Intune Remediations and Windows troubleshooting from Autopilot/OOBE when
script execution is available. It only stages data; it neither starts a
diagnost
administrator-selected files, complete directory archives and registry
exports in the Windows Temp location that Intune collects. Intended for
Intune Remediations and Windows troubleshooting from Autopilot/OOBE when
script execution is available. It only stages data; it neither starts a
diagnostics request nor uploads data. Then run Intune Collect diagnostics
and download the diagnostic package.
Produces one verified %computername%-IntuneDiagExtender-Collection.zip.log.
Intermediate collector files are removed only after ZIP verification.
Previous collections remain in excluded local history ZIPs. Original
source files are never deleted. Requires .NET ZIP support (4.5 or newer).
See the notes, parameters and examples in Get-Help -Full for details.
Installation Options
Owners
Package Details
Author(s)
- Wolfgang Bäck (CARECON GmbH)
Tags
Intune Diagnostics Remediation OOBE Registry Windows
Functions
Write-CollectorLog Write-CollectionError Test-MissingPathError Test-ReparsePath Test-HistoryPath Get-PackageFileName Add-PackageEntry Compress-StagedSnapshots Copy-LogSnapshot Get-DirectoryRoots Test-CollectorOutput Get-StagedPath ConvertTo-ExtensionKey Copy-DirectorySnapshots Compress-DirectorySnapshot ConvertTo-RegistryKeyName Get-RegistryRoots ConvertTo-RegFileString ConvertTo-RegFileHex ConvertTo-RegFileValue Export-RegistrySnapshot
PSEditions
Dependencies
This script has no dependencies.
Release Notes
1.5.0: Preserve source directory paths and original filenames in the collection ZIP; integrate full-directory contents without nested ZIPs.
1.4.0: Publish collected files, registry exports and collector log as one verified ZIP.log package.
1.3.0: Archive previously staged collector files before each new collection.
1.2.0: Added Autopilot and enrollment registry defaults and targeted user MDM diagnostic paths.
1.1.1: Refactoring.
1.1.0: Added recursive registry key export (RegistryLocations) in .reg format, with wildcards and missing keys logged as warnings. Errors during file or registry collection, including invalid entries, are logged and collection continues.
1.0.0: Initial version: recursive log collection with wildcards, general and per-location file extensions, full-directory ZIP collection, and warnings for missing locations.
FileList
- Invoke-IntuneDiagExtender.nuspec
- Invoke-IntuneDiagExtender.ps1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.5.0 (current version) | 13 | 11/16/2026 |
| 1.4.0 | 11 | 11/16/2026 |
| 1.2.0 | 10 | 11/16/2026 |
| 1.1.1 | 9 | 11/13/2026 |