Freigeben über


SMS_TaskSequence_CaptureSystemImageAction Server WMI Class

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: String

    Access type: Read/Write

    Qualifiers: [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: String

    Access type: Read/Write

    Qualifiers:

    [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: String

    Access type: Read/Write

    Qualifiers: [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.

  • ImageCreator
    Data type: String

    Access type: Read/Write

    Qualifiers: [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: String

    Access type: Read/Write

    Qualifiers: [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: String

    Access type: Read/Write

    Qualifiers: [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.

  • SupportedEnvironment
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_Null:ToInstance]

    See SMS_TaskSequence_Action Server WMI Class.

    The default value of this property for this task sequence action is WinPE.

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.

See Also

Concepts

Operating System Deployment Server WMI Classes
SMS_TaskSequence_Action Server WMI Class
About Operating System Deployment Task Sequences
Configuration Manager Operating System Deployment
How to Create an Operating System Deployment Task Sequence
How to Add an Operating System Deployment Task Sequence Action