Archives
Archives /
2007
-
WMI7: Getting the 'Values' Qualifier...
In WMI, there's really not a concept of an Enum datatype. Instead, the datatype is still defined as an int but they allow you to attach metadata to the property to specify the allowable values and its respective Enum name. For example, in c#, you would define an enum similar to:
-
WMI7: Working with WMI Dates and Times
The information provided below was obtained from the following link: http://www.microsoft.com/technet/scriptcenter/guide/sas_wmi_fvwp.mspx?mfr=true