Clean Up Old Hardware Inventory Data

In SCCM, after removing WMI classes that are no longer required from configuration.mof and sms_def.mof, the inventory data still exists in few places. If you decide to clean them up, has a great WIKI page for SCCM hardware inventory which talked about different ways to clean up hardware inventory data. I have tried the free SiteSweeper tool from which was mentioned in the WIKI page. It’s easy to use and you can remove multiple classes from site database at once: Other than removing the data from site databases throughout the hierarchy, the WMI class which you defined in

Setting SMS_INSTALL_DIR_PATH Environment variable on SCCM site servers for SCOM SCCM management pack

According to the “Configuration Manager 2007 SP2 Management Pack User’s Guide for Operations Manager 2007 R2 and Operations Manager 2007 SP1” (for MP version 6.0.6000.2), An environment variable named “SMS_INSTALL_DIR_PATH” needs to be created on all SCCM site servers. I had to do this on 80+ site servers, so I thought why not do this using a script and let SCCM to push it out to all site servers? Therefore, I wrote a VBScript Set-EnvirVar-For-SCOM.vbs (I didn’t use PowerShell this time because it is easier to push out VBScripts via SCCM). Source Code: This script retrieves the path of the

%d bloggers like this: