The SMS_TaskSequence_CaptureSystemImageAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that specifies an existing network share and WIM file to use when saving the image.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.
Class SMS_TaskSequence_CaptureSystemImageAction : SMS_TaskSequence_Action { String CaptureDestination; String CapturePassword; String CaptureUsername; SMS_TaskSequence_Condition Condition; Boolean ContinueOnError; String Description; Boolean Enabled; String ImageCreator; String ImageDescription; String ImageVersion; String Name; String SupportedEnvironment; UInt32 Timeout; }; |
Methods
The SMS_TaskSequence_CaptureSystemImageAction class does not define any methods.
Properties
- CaptureDestination
- Data type: StringAccess type: Read/WriteQualifiers: [not_null, AllowedLen("1-255")]The path where the captured image is saved. This path is overwritten if the file exists already. The path length can be between 1 and 255 characters. This property is required.
- CapturePassword
- Data type: StringAccess type: Read/WriteQualifiers: [VariableName("OSDCaptureAccountPassword"), Secret]Password of the account specified by the CaptureUsername property.The task sequence variable associated with this property is OSDCaptureAccountPassword. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
- CaptureUsername
- Data type: StringAccess type: Read/WriteQualifiers: [VariableName("OSDCaptureAccount")]A Windows account name that has permissions to the network share where the captured image will be stored, specified by CaptureDestination. This name is specified in "domain\username" format. To set this property, you must have write access to the destination folder.The task sequence variable associated with this property is OSDCaptureAccount. For more information, see the MSDN documentation for Operating System Deployment Task Sequence Variables.
- Condition
- Data type: SMS_TaskSequence_ConditionAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- ContinueOnError
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- Description
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]See SMS_TaskSequence_Action Server WMI Class.
- Enabled
- Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
- ImageCreator
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]Name of the creator of the image. The creation information is stored in the image header. The name length can be between 0 and 255 characters.
- ImageDescription
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]Description of the image as supplied by the creator and stored in the image header. The description length can be between 0 and 255 characters.
- ImageVersion
- Data type: StringAccess type: Read/WriteQualifiers: [not_null, AllowedLen("0-32")]Version of the image as supplied by the creator and stored in the image header. The version length can be between 0 and 32 characters. This property is required.
- Name
- Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Action Server WMI Class.
- SupportedEnvironment
- Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]See SMS_TaskSequence_Action Server WMI Class.The default value of this property for this task sequence action is WinPE.
- Timeout
- Data type: UInt32Access type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
Remarks
Class qualifiers for this class include:
[CommandLine("osdcapturesystemimage.exe"),VariablePrefix("OSD"),
ActionCategory{"Images,7,4"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "CaptureSystemImageControl", "TaskSequenceOptionControl"}, SequenceCategory("OSD")]
For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.
Requirements
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.