Been searching through this and other forums, to no avail.
Most desktop machines in my environment are running W2K, WXP, and a few NT's. I keep running into an issue with performing a WMI query, where it appears the script hangs (current test been hanging on line for 70 mins). I assume This is because of older versions of or problematic WMI instances. I was looking for a simple way to verify WMI capability without being dependent on WMI itself? Only workaround I can think of is to use something like reg.exe to see if I pull WMI version from somewhere in registry, however a method that wouldn't require a dependency on another util would be preferred.
Most desktop machines in my environment are running W2K, WXP, and a few NT's. I keep running into an issue with performing a WMI query, where it appears the script hangs (current test been hanging on line for 70 mins). I assume This is because of older versions of or problematic WMI instances. I was looking for a simple way to verify WMI capability without being dependent on WMI itself? Only workaround I can think of is to use something like reg.exe to see if I pull WMI version from somewhere in registry, however a method that wouldn't require a dependency on another util would be preferred.