New-SCStoragePool

Creates a storage pool.

Syntax

New-SCStoragePool [-Description <String>] [-FaultDomainAwareness <FaultDomainAwarenessType>]
 [-InterleaveDefaultKB <UInt64>] [-JobVariable <String>] -Name <String> [-PROTipID <Guid>] [-RunAsynchronously]
 -StorageArray <StorageArray> -StorageClassification <StorageClassification>
 -StoragePhysicalDisk <StoragePhysicalDisk[]> [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The New-SCStoragePool cmdlet creates a storage pool.

Examples

Example 1: Create pool from physical disks

PS C:\> $Disks = Get-SCStoragePhysicalDisk | where {$_.CanPool -eq $True}
PS C:\> New-SCStoragePool -StoragePhysicalDisk $Disks -Name "Pool01"

The first command gets all physical disk objects that can be pooled and stores the objects in the $Disks variable.

The second command creates a storage pool named Pool01 with the physical disks stored in $Disks.

Parameters

-Description

Specifies a description for the storage pool.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-FaultDomainAwareness

Specifies the default fault domain for new virtual disks created in this storage pool. The acceptable values for this parameter are:

- 1: PhysicalDisk

  • 2: StorageEnclosure
  • 3: Node

Type:FaultDomainAwarenessType
Parameter Sets:NotSupported, PhysicalDisk, StorageEnclosure, StorageScaleUnit
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InterleaveDefaultKB

Specifies the default interleave size, in kilobytes, for new virtual disks created in this storage pool,

Type:UInt64
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a VMM object.

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageArray

Specifies a storage array object. This can be a Fibre Channel or iSCSI storage sub-system that is used to store virtual machine configuration and virtual disks.

Type:StorageArray
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageClassification

Specifies a storage classification object.

Type:StorageClassification
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StoragePhysicalDisk

Specifies an array of physical disks (spinning media or solid state).

Type:StoragePhysicalDisk[]
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

StoragePool

This cmdlet returns a **StoragePool** object.