Win32_SoftwareFeature
SoftwareFeatures and SoftwareElements: A ‘SoftwareFeature’ is a distinct subset of a Product, consisting of one or more ‘SoftwareElements’. Each SoftwareElement is defined in a Win32_SoftwareElement instance, and the association between a feature and its SoftwareFeature(s) is defined in the Win32_SoftwareFeatureSoftwareElement Association. Any component can be ‘shared’ between two or more SoftwareFeatures. If two or more features reference the same component, that component will be selected for installation if any of these features are selected.
Properties
In this WMI class, all WMI properties are read-only. You can only read values but not change them.
Accesses
Data type UInt16
Number of times this SoftwareFeature has been used
Attributes
Data type UInt16
Remote execution option, one of irsEnum: ifrsFavorLocal = 0: Install components locally, if possible ifrsFavorSource = 1: Install components to run from the source CD/Server, if possible ifrsFollowParent = 2: Follow the remote execution option of the parent feature
Caption
Data type String
The Caption property is a short textual description (one-line string) of the object.
Description
Data type String
The Description property provides a textual description of the object.
IdentifyingNumber
Data type String
Product identification such as a serial number on software or a die number on a hardware chip
InstallDate
Data type DateTime
The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.
InstallState
Data type SInt16
The installed state of the software feature.
$InstallState_ReturnValue = @{ -6='Bad Configuration' -2='Invalid Argument' -1='Unknown Package' 1='Advertised' 2='Absent' 3='Local' 4='Source' } |
LastUse
Data type DateTime
Last time this SoftwareFeature was used
Name
Data type String
The Name property defines the label by which the object is known to the world outside the data processing system. This label is a human-readable name that uniquely identifies the element in the context of the element’s namespace.
ProductName
Data type String
Commonly used product name
Status
Data type String
The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are “OK”, “Degraded” and “Pred Fail”. “Pred Fail” indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are “Error”, “Starting”, “Stopping” and “Service”. The latter, “Service”, could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither “OK” nor in one of the other states.
'OK','Error','Degraded','Unknown','Pred Fail','Starting','Stopping','Service','Stressed','NonRecover','No Contact','Lost Comm' |
Vendor
Data type String
The name of the product’s supplier. Corresponds to the Vendor property in the product object in the DMTF Solution Exchange Standard.
Version
Data type String
Product version information. Corresponds to the Version property in the product object in the DMTF Solution Exchange Standard.
Community Content
You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!
Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.
Content last updated: 2013-12-27 12:20:21 (UTC).









