The SMS_MachineVariable Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that defines the settings of a task sequence variable that is unique to a specific computer.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Class SMS_MachineVariable
	Boolean IsMasked;
	String Name;
	String Value;


The SMS_MachineVariable class does not define any methods.



Data type: BooleanAccess type: Read/WriteQualifiers: NoneThis property is not currently used.

Data type: StringAccess type: Read/WriteQualifiers: [key]The name of the machine variable. The default value is "".

Data type: StringAccess type: Read/WriteQualifiers: NoneThe machine variable value. The default value is null.


The task sequence variable can customize the behavior of a task sequence for a specific computer, and it overrides any definition that is set by SMS_CollectionVariable Server WMI Class. These variables are automatically replicated down through the site hierarchy. For example, if a variable is declared on the primary child site server, it will be available on the primary grandchild site server, but not on the primary site server.

Class qualifiers for this class include:

  • Embedded

For more information about both the class qualifiers and the property qualifiers that are included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Your application uses this class to create objects that are embedded by the SMS_MachineSettings Server WMI Class and accessed by using the MachineVariables property. For an example of the use of this class, see How to Create a Computer Variable in Configuration Manager.


Runtime Requirements

Development Requirements

See Also