One more script to help inventory the size of a specified set of folders (or just a single folder if that’s all you are interested in) using ConfigMgr. Similar to my other inventory scripts, this is a VBScript that needs to be run on the target systems. This can be done using a package and program or compliance settings. Also similar to my other inventory scripts, the data is stored in a custom WMI namespace, named ITLocal, and a custom WMI class, named Folder_Size. You can easily change these on lines 3 and/or 4 of the script. From there, add the WMI class to your ConfigMgr hardware inventory (as outlined in my post Collecting USMT Estimates using ConfigMgr post). To change which folders the script collects information on, simply edit line 7.
And that’s it.