共用方式為


SMS_TaskSequence_PartitionSettings 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_PartitionSettings Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that specifies the settings to use when creating and formatting a partition on a hard disk drive.

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

Class SMS_TaskSequence_PartitionSettings
{
      Boolean Bootable;
      String FileSystem;
      Boolean QuickFormat;
      UInt32 Size;
      String SizeUnits;
      String Type;
      String VolumeLetterVariable;
      String VolumeName;
};

Methods

The SMS_TaskSequence_PartitionSettings class does not define any methods.

Properties

  • Bootable
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: [not_null]

    true to set the partition as the active partition. The default value is false.

  • FileSystem
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    File system to use when formatting the partition. Possible values are:

    • FAT32

    • NTFS

  • QuickFormat
    Data type: Boolean

    Access type: Read/Write

    Qualifiers: [not_null]

    true to perform a quick format. Set this property to false to perform a full format.

  • Size
    Data type: UInt32

    Access type: Read/Write

    Qualifiers: None

    Size of the partition to create. The units are defined by the SizeUnits property.

  • SizeUnits
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Units in which the Size property is specified. Possible values are:

    MB

    Megabytes

    GB

    Gigabytes

    Percent

    Percentage of free space remaining on disk

  • Type
    Data type: String

    Access type: Read/Write

    Qualifiers: [not_null]

    Type of partition to create. Possible values are:

    • Primary

    • Extended

    • Logical

    • Hidden

  • VolumeLetterVariable
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name of a task sequence variable that receives the drive letter of the newly created partition.

  • VolumeName
    Data type: String

    Access type: Read/Write

    Qualifiers: None

    Name to assign to the volume when it is formatted.

Remarks

There are no class qualifiers for this class. 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
Configuration Manager Operating System Deployment
About Operating System Deployment Task Sequences