I just tested it, and it works fine after installing the wmi on a nt4 box.
And just to sound stupid - you need to replace $strComputer = "." with $strComputer = "Thecomputeryouwishtocheck".
Edit: After reading Mart's comment, perhaps you should try to get something you know exists and see if a value is returned.


Edited by ewook (2006-04-04 11:35 AM)
_________________________
as long as it works - why fix it?
If it doesn't work - kix-it!