Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

New-StorageSubsystemVirtualDisk

New-StorageSubsystemVirtualDisk

storagesubsystem.cdxml

Synopsis

Allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools.

Syntax

New-StorageSubsystemVirtualDisk [-StorageSubSystemFriendlyName] [-AsJob] [-CimSession] [-FriendlyName] [-Interleave] [-IsEnclosureAware] [-NumberOfColumns] [-NumberOfDataCopies] [-OtherUsageDescription] [-ParityLayout] [-PhysicalDiskRedundancy] [-ProvisioningType] [-RequestNoSinglePointOfFailure] [-Size] [-ThrottleLimit] [-Usage] [-UseMaximumSize] [<CommonParameters>]

New-StorageSubsystemVirtualDisk [-AsJob] [-CimSession] [-FriendlyName] [-Interleave] [-IsEnclosureAware] [-NumberOfColumns] [-NumberOfDataCopies] [-OtherUsageDescription] [-ParityLayout] [-PhysicalDiskRedundancy] [-ProvisioningType] [-RequestNoSinglePointOfFailure] [-Size] [-ThrottleLimit] [-Usage] [-UseMaximumSize] [-StorageSubSystemUniqueId] [<CommonParameters>]

New-StorageSubsystemVirtualDisk [-AsJob] [-CimSession] [-FriendlyName] [-Interleave] [-IsEnclosureAware] [-NumberOfColumns] [-NumberOfDataCopies] [-OtherUsageDescription] [-ParityLayout] [-PhysicalDiskRedundancy] [-ProvisioningType] [-RequestNoSinglePointOfFailure] [-Size] [-ThrottleLimit] [-Usage] [-UseMaximumSize] [-StorageSubSystemName] [<CommonParameters>]

New-StorageSubsystemVirtualDisk [-AsJob] [-CimSession] [-FriendlyName] [-Interleave] [-IsEnclosureAware] [-NumberOfColumns] [-NumberOfDataCopies] [-OtherUsageDescription] [-ParityLayout] [-PhysicalDiskRedundancy] [-ProvisioningType] [-RequestNoSinglePointOfFailure] [-Size] [-ThrottleLimit] [-Usage] [-UseMaximumSize] [-InputObject] [<CommonParameters>]

Detailed Description

The New-StorageSubsystemVirtualDisk cmdlet allows the creation of a VirtualDisk object on a storage subsystem that does not support creation of storage pools, or if its storage pool does not support virtual disk creation.

Parameters

-AsJob <SwitchParameter>

Runs the cmdlet as a background job. Use this parameter to run commands that take a long time to complete. The cmdlet immediately returns an object that represents the job and then displays the command prompt. You can continue to work in the session while the job completes. To manage the job, use the *-Job cmdlets. To get the job results, use the Receive-Job cmdlet. For more information about Windows PowerShell® background jobs, see about_Jobs.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-CimSession <CimSession[]>

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local computer.

Aliases

Session

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-FriendlyName <String>

Specifies a friendly name for a virtual disk. The friendly name may be defined by a user and is not guaranteed to be unique.

Aliases

VirtualDiskFriendlyName

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-InputObject <CimInstance[]>

Accepts an object from the pipeline as input.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

True (ByValue)

Accept wildcard characters?

false

-Interleave <UInt64>

Specifies the interleave value to use during the creation of a virtual disk.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-IsEnclosureAware <SwitchParameter>

Specifies that the enclosure supports SCSI Enclosure Services (SES), which is utilized for providing things like Slot location for a physical disk, as well as to manage LEDs on the disks for visual identification.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-NumberOfColumns <UInt16>

Specifies the number of columns to create.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-NumberOfDataCopies <UInt16>

Specifies the number of data copies to create.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-OtherUsageDescription <String>

Specifies the usage of this object.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ParityLayout <ParityLayout>

Specifies the parity layout to be used with the virtual disk to be created.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PhysicalDiskRedundancy <UInt16>

Specifies the physical disk redundancy value to use during the creation of a virtual disk.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ProvisioningType <ProvisioningType>

Specifies the type of provisioning. The acceptable values for this parameter are:  Unknown, Fixed, or Thin.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-RequestNoSinglePointOfFailure <Boolean>

Requests that the virtual disk is created on hardware that has path redundancy to provide resilience to storage path faults. This cannot be guaranteed.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Size <UInt64>

Specifies the size of the partition to create. If not specified, then the number will default to Bytes. The acceptable values for this parameter are: Bytes, KB, MB, GB, or TB. The size may be defined by a user.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-StorageSubSystemFriendlyName <String[]>

Specifies the friendly name of the storage subsystem. The friendly name may be defined by the user.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-StorageSubSystemName <String[]>

Specifies the name of the storage subsystem provided by the Storage Management.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-StorageSubSystemUniqueId <String[]>

Specifies an ID used to uniquely identify the storage subsystem in the system. The ID persists through reboots.

Aliases

StorageSubsystemId

Required?

true

Position

named

Default value

None

Accept pipeline input?

True (ByPropertyName)

Accept wildcard characters?

false

-ThrottleLimit <Int32>

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Usage <Usage>

Specifies the intended usage.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-UseMaximumSize <SwitchParameter>

Uses the maximum allowable size for this virtual disk.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageSubsystem

Return Type

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_VirtualDisk

Notes

None

Examples

EXAMPLE 1

This example creates a Virtual Disk named VirtualDisk01 on the provided StorageSubsystem without the use of a Storage Pool

PS C:\> $stsubsys = (Get-StorageSubsystem)
PS C:\> New-StorageSubsystemVirtualDisk -StorageSubsystemUniqueId $stsubsys.UniqueID -FriendlyName "VirtualDisk01" -Size "5GB" -ProvisioningType Fixed

Online Version
Get-StorageSubsystem