This repository was archived by the owner on Mar 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Export CM HealthCheck
Skatterbrainz edited this page May 23, 2017
·
6 revisions
- Extract Get-CM-Inventory.ps1, messages.xml and cmhealthcheck.xml into a folder.
- Open a PowerShell console using "Run as administrator"
- Run the script (examples shown below)
- Must be executed using an account which has FULL ADMINISTRATOR permissions to the SCCM hierarchy, the Windows Server host, and the SQL Server instance which supports the SCCM hierarchy.
- Requires PowerShell version 3 or later
- Works best when executed ON the SCCM Primary or CAS for a given hierarchy
- Has been tested on SCCM 2012 SP1, 2012 R2, 1511, 1602, 1606, 1610, 1702 and 1704
- Get-CM-Inventory.ps1 -SmsProvider cm01.contoso.com
- Get-CM-Inventory.ps1 -SmsProvider cm01.contoso.com -Overwrite -Verbose
- Get-CM-Inventory.ps1 -SmsProvider cm01.contoso.com -NoHotFix -Verbose
- $SiteServers | Get-CM-Inventory.ps1
Version 0.1 - Raphael Perez - 24/10/2013
- Initial Script
Version 0.2 - Raphael Perez - 05/11/2014
- Added Get-MessageInformation and Get-MessageSolution
Version 0.3 - Raphael Perez - 22/06/2015
- Added ReportSection
Version 0.4 - Raphael Perez - 04/02/2016
- Fixed issue when executing on a Windows 10 machine
Version 0.5 - David Stein (4/10/2017)
- Added support for MS Word 2016
- Changed "cm12R2healthCheck.xml" to "cmhealthcheck.xml"
- Detailed is now a [switch] not a [boolean]
- Added params for CoverPage, Author, CustomerName, etc.
- Bugfixes for Word document builtin properties updates
- Minor bugfixes throughout
Version 0.6 - David Stein (4/18/2017)
- Set table styles to be consistent
Version 0.6.1 - David Stein (4/23/2017)
- Added CmdletBinding() and some other additions
Version 0.6.2 - David Stein (5/16/2017)
- Minor formatting updates