Freigeben über


SMS_TaskSequence_PartitionDiskAction 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_PartitionDiskAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that formats and partitions a specified disk on a target computer.

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

Class SMS_TaskSequence_PartitionDiskAction : SMS_TaskSequence_Action
{
      SMS_TaskSequence_Condition Condition;
      Boolean ContinueOnError;
      String Description;
      UInt32 DiskIndex;
      Boolean DiskpartBiosCompatibilityMode;
      String DiskType;
      Boolean Enabled;
      Boolean GPTBootDisk;
      String Name;
      SMS_TaskSequence_PartitionSettings Partitions[];
      String PartitionStyle;
      String SupportedEnvironment;
      UInt32 Timeout;
};

Methods

The SMS_TaskSequence_PartitionDiskAction class does not define any methods.

Properties

  • DiskIndex
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: [Not_Null]

    The number of the physical disk to partition and format.

  • DiskpartBiosCompatibilityMode
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true to set registry keys to disable sector alignment when partitioning the disk for compatibility with the target computer BIOS. The default value is false.

  • DiskType
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Deprecated and should not be used.

    The type of disk. Possible values are:

    • DYNAMIC

    • BASIC

  • GPTBootDisk
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: None

    true to create an extensible firmware interface (EFI) partition so that an EFI system can boot from the disk. The default value is false. Set this property if PartitionStyle is set to GPT.

  • PartitionStyle
    Data type: String

    Access type: Read/Write

    Qualifiers: [Not_null]

    The partition style. Possible values are:

    • GPT. GUID partition table format.

    • MBR. Master boot record format.

  • 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("osddiskpart.exe"),VariablePrefix("OSD"),

ActionCategory{"Disks,1,2"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "PartitionDiskControl", "TaskSequenceOptionControl"}]

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
SMS_TaskSequence_PartitionSettings 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 a Condition to an Operating System Deployment Task Sequence Step
How to Add an Operating System Deployment Task Sequence Action