Microsoft have released a nice tool which help you create WMI queries. WMI Code Creator 1.0 is a powerful tool to create WMI queries without little or no programming skills. I use this frequently to retrieve the model name from computers that I need to target specific driver packages.
My colleage at Atea, Oddvar Håland Moe, have written a script that dumps the password of the network access account from the boot image in plain text. This is why you never enable command line support in your boot images on a production network. Anyone will be able to retrieve the password during PXE boot / OS deployment. Read More