Home - Skatterbrainz/CM_HealthCheck GitHub Wiki

Welcome to the cm_healthcheck wiki!

What is it?

This set of files was derived from the work of Rafael Perez (https://www.rflsystems.co.uk). Read the full story here. He did the lion share of the work. I came along, lured it to an unmarked white van with a picture of Chris Hansen holding puppies on one side and "free ice cream" on the other. Once inside, I duct-taped it with some code to work with SCCM current branch, and Microsoft Word 2016 on Windows 10. Since then I've continued to tweak it just a little when needed. It continues to place the lotion in the basket.

How does it work?

The process works the same as when Rafael wrote the original:

  • Run the Get-CM-Inventory.ps1 script on (or against) the SCCM site server.
  • Run the Export-CM-HealthCheck.ps1 script on a computer with Microsoft Word installed.

This is heavily summarized of course, so please read the other two (2) Wiki pages for details about using each of the scripts.

What Else?

You'll need the full set of files, except for the stupid Get-AD-Inventory.ps1 script, which was written while drinking too much wine. Very bad. I left it as an example of what not to do.

I like how Rafael structured the process into code. Most environments I've tested this in, which includes everything from SCCM 2012 to 1703, on Windows Server 2008 R2 to 2016, to SQL Server 2012 to 2016, and Windows 8.1 to 10 on the client, as well as Office 2010, 2013, and 2016, I've found that the collection process works best ON the SCCM host server.

Whether that's a CAS or a standalone Primary, this model works very well. I've run this across a CAS environment which covered three (3) separate AD Forests with transitive and one-way trusts. The export process requires Microsoft Word, which is (hopefully) not installed on an SCCM site server, so that part works best on a desktop or laptop.

Enough blabbering. Please kick the tires and provide feedback? If you like, I would prefer if you submit bugs, and enhancement requests as "issues" from within this repository. That way I can track progress and you can get updates.

Downloads

Simply use the Download as ZIP option from the Code section. Extract the files and try it out. If you like it, be sure to thank Rafael too, since he gave birth to this and made it possible.

Enhancements / Bug Reports

Use the "Issues" section (linked above) to submit a feature request or to report a bug.

If you want to keep up on future updates, click the option to "watch" this repository, which will send you an email when changes are uploaded.

If you want to make some changes yourself, feel free to "fork" this repo and get started. If your changes are helpful to others and are tested successfully they will be merged into the master build.