SCCM – Changing Client Cache Location

Update (2009-10-05 12:30 PM): Thanks to Todd Hemsell, I now know that you have to restart the ccmexec service in order for the change to take effect. I’ve updated the scripts appropriately. — So you’ve got System Center Configuration Manager (SCCM) 2007 in place, and for whatever reason, you’re looking to change the location of … Read moreSCCM – Changing Client Cache Location

PowerShell: Clean up AD Computer Accounts

Update (2009-11-03): I have posted a newer version of this script. Please visit this link for information. ————— I recently wrote a script to clean up workstation accounts in our Active Directory domain. It’s not perfect, but it was a good learning experience, as I found out there are some gritty details when working with … Read morePowerShell: Clean up AD Computer Accounts

WMI Documentor

Here is a crude, but functional Visual Basic (VB) script that I wrote to document WMI classes, methods, and properties in Microsoft Excel so that they are searchable. Option Explicit dim TargetWmiNs, Excel, Row, tWmiClass, WmiClasses ‘*** Set this variable to the target WMI namespace to document TargetWmiNs = “\\remotecomputer\root\sms\site_lab” ‘*** Create Excel object set … Read moreWMI Documentor