ConfigMgr health-check reporting PowerShell module
CMHealthCheck helps you collect Configuration Manager health data and generate report-ready output for operational reviews, troubleshooting, and periodic health checks.
The module is built around a two-phase workflow:
This approach lets you collect once and render reports multiple ways.
Install-Module CMHealthCheck
git clone https://github.com/ds0934/CMHealthCheck.git
cd CMHealthCheck
Import-Module ./CMHealthCheck.psd1
Import the module and inspect available commands:
Import-Module CMHealthCheck
Get-Command -Module CMHealthCheck
Get-Help Invoke-CMHealthCheck -Detailed
Example end-to-end flow:
# Run collection and generate outputs from a config file
Invoke-CMHealthCheck -ConfigFile .\Config.xml -ReportFile .\CMHealthReport.docx
# Collect health-check data
Get-CMHealthCheck -ConfigFile .\Config.xml -OutputPath .\Output
# Summarize prior output
Get-CMHealthCheckSummary -Path .\Output
# Export report content
Export-CMHealthReport -Path .\Output -ReportFile .\CMHealthReport.docx
| Function | Description | Documentation |
|---|---|---|
Invoke-CMHealthCheck |
End-to-end workflow for collection and reporting | Docs/Invoke-CMHealthCheck.md |
Get-CMHealthCheck |
Collect health-check data from configured targets | Docs/Get-CMHealthCheck.md |
Get-CMHealthCheckSummary |
Produce summarized health-check output | Docs/Get-CMHealthCheckSummary.md |
Export-CMHealthReport |
Export collected data into report output | Docs/Export-CMHealthReport.md |
Tested environments include:
Contributions are welcome. You can help by:
Please open an issue or pull request in this repository.
To remove the module:
Remove-Module CMHealthCheck -ErrorAction SilentlyContinue
Uninstall-Module CMHealthCheck
This project is licensed under the MIT License. See LICENSE for details.