When you want some information from SCCM 2007 using PowerShell you have two options: using ADO.NET to talk to SCCM DB directly (yeah, right…
), or using WMI interface. If there are other ways to get there – I’m not aware of them (yet).
Working with good-old Get-WmiObject got better (IMO) in v3 – it’s unintentional (I’m guessing), but it’s the fact. Today I would like to share simple “trick” I use daily on my v3 admin workstation to get some info out of SCCM using WMI.