Using WMI on Windows Server 2003
You might get "Invalid class" error when inquiring some information from Win32_SoftwareFeature, by calling WQL scripts like: "Select * From Win32_SoftwareFeature". As it turned out this feature is not installed by default on windows server 2003 and as result it gives you "Invalid class" when you call such scripts. It can be installed from add/remove programs - windows features:
Comments
Post a Comment