6.2

Table Of Contents
GetMachineProperty
Gets the value of the specified property for a machine.
Table 623. GetMachineProperty Activity Input Parameters
Argument Type Description
MachineId Guid The machine from which to retrieve a property.
PropertyName String Name of the property whose value to return.
IsRequired bool If the property is required and is not found the activity throws an
exception, otherwise returns null.
Table 624. GetMachineProperty Activity Output Parameters
Argument Type Description
PropertyValue String Value of the property specified by PropertyName. The value is
returned decrypted if it was stored encrypted.
GetScriptFromName
Gets the contents of the script stored in the Model Manager under the specified name.
Table 625. GetScriptFromName Activity Input Parameters
Argument Type Description
ScriptName String Name in the Model Manager of the script to retrieve.
ScriptVersion Object (Optional) Version in the Model Manager of the script to retrieve.
Default is 0.0.
Table 626. GetScriptFromName Activity Output Parameters
Argument Type Description
ScriptContent String Contents of the script identified by ScriptName.
InvokePowerShell
Executes a PowerShell command.
Table 627. InvokePowerShell Activity Input Parameters
Argument Type Description
CommandText String Command to execute.
Arguments IEnumerable<string> (Optional) Arguments to the command.
Input IEnumerable (Optional) The input pipeline.
IsScript bool (Optional) Indicates whether CommandText is a script. Default is
False.
This option is only available in the Properties pane and not in
the Designer pane.
Machine Extensibility
VMware, Inc. 62