New-StorageTier

New-StorageTier

Creates a storage tier.

Syntax

Parameter Set: ByFriendlyName
New-StorageTier [-StoragePoolFriendlyName] <String[]> -FriendlyName <String> [-CimSession <CimSession[]> ] [-ColumnIsolation <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Description <String> ] [-FaultDomainAwareness <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Interleave <UInt64> ] [-MediaType <MediaType> {HDD | SSD | SCM} ] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-NumberOfGroups <UInt16> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.ProvisioningType> {Unknown | Thin | Fixed} ] [-ResiliencySettingName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: ByName
New-StorageTier -FriendlyName <String> -StoragePoolName <String[]> [-CimSession <CimSession[]> ] [-ColumnIsolation <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Description <String> ] [-FaultDomainAwareness <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Interleave <UInt64> ] [-MediaType <MediaType> {HDD | SSD | SCM} ] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-NumberOfGroups <UInt16> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.ProvisioningType> {Unknown | Thin | Fixed} ] [-ResiliencySettingName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: ByUniqueId
New-StorageTier -FriendlyName <String> -StoragePoolUniqueId <String[]> [-CimSession <CimSession[]> ] [-ColumnIsolation <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Description <String> ] [-FaultDomainAwareness <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Interleave <UInt64> ] [-MediaType <MediaType> {HDD | SSD | SCM} ] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-NumberOfGroups <UInt16> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.ProvisioningType> {Unknown | Thin | Fixed} ] [-ResiliencySettingName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]

Parameter Set: InputObject (cdxml)
New-StorageTier -FriendlyName <String> [-CimSession <CimSession[]> ] [-ColumnIsolation <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Description <String> ] [-FaultDomainAwareness <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType> {PhysicalDisk | StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack} ] [-Interleave <UInt64> ] [-MediaType <MediaType> {HDD | SSD | SCM} ] [-NumberOfColumns <UInt16> ] [-NumberOfDataCopies <UInt16> ] [-NumberOfGroups <UInt16> ] [-PhysicalDiskRedundancy <UInt16> ] [-ProvisioningType <Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.ProvisioningType> {Unknown | Thin | Fixed} ] [-ResiliencySettingName <String> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>] [ <WorkflowParameters>]




Detailed Description

The New-StorageTier cmdlet creates a storage tier in a storage pool.

Parameters

-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

-ColumnIsolation<Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType>

Specifies at which level columns within a virtual disk should be isolated from each other. We recommend omitting this parameter and using the defaults. The acceptable values for this parameter are:

-- PhysicalDisk
-- StorageScaleUnit
-- StorageChassis
-- StorageEnclosure
-- StorageRack


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Description<String>

Specifies a description for the storage tier that you create.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FaultDomainAwareness<Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.FaultDomainType>

Specifies at what level you want the virtual disk to be fault tolerant. The acceptable values for this parameter are:

-- PhysicalDisk
-- StorageScaleUnit
-- StorageChassis
-- StorageEnclosure
-- StorageRack

For example, specify StorageScaleUnit to store data copies on separate nodes of a Storage Spaces Direct cluster. This cmdlet refers to nodes of a Storage Spaces Direct cluster as storage scale units because you can expand the scale of the cluster by adding more nodes.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-FriendlyName<String>

Specifies a friendly name for the storage tier.


Aliases

StorageTierFriendlyName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Interleave<UInt64>

Specifies the interleave value to use during the creation of a storage tier. The interleave value represents the number of bytes that is written to a single physical disk. Thus Interleave * NumberOfColumns yields the size of one stripe of user data.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-MediaType<MediaType>

Specifies the media type of the storage tier. The cmdlet creates the storage tier for the media type that you specify. The acceptable values for this parameter are:

-- SSD
-- SCM
-- HDD

Use SCM for storage-class memory such as NVDIMMs.


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 use for the storage tier. Columns represent the number of underlying physical disks in a tier across which one stripe of data for a virtual disk is written.


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. Specify 2 to create a two-way mirror, or 3 to specify a three-way mirror or for dual-parity.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-NumberOfGroups<UInt16>

Specifics the number of groups used by Local Reconstruction Coding (LRC) with a dual parity virtual disk. We recommend omitting this parameter and using the defaults.


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. This value represents how many failed physical disks the virtual disk can tolerate without data loss. The redundancy values are as follows:

-- For two-way mirror spaces, the virtual disk can tolerate 1 failed physical disk without data loss.
-- For three-way mirror spaces, the virtual disk can tolerate 2 failed physical disks without data loss.
-- For single-parity spaces, the virtual disk can tolerate 1 failed physical disk without data loss.
-- For dual-parity spaces the virtual disk can tolerate 2 failed physical disks without data loss.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ProvisioningType<Microsoft.PowerShell.Cmdletization.GeneratedTypes.StoragePool.ProvisioningType>

Specifies the type of provisioning. The acceptable values for this parameter are: Fixed and Thin. You must specify Fixed for storage spaces that use storage tiers or a clustered storage pool.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ResiliencySettingName<String>

Specifies the resiliency setting, or storage layout, to use for the virtual disk. The acceptable values for this parameter are: Simple, Mirror, and Parity.

By default, when you specify Mirror, Storage Spaces creates a two-way mirror. When you specify Parity, Storage Spaces creates a single-parity space.

To create a three-way mirror space, specify 3 for the NumberofDataCopies parameter or 2 for the PhysicalDiskRedundancy parameter.

To create a dual-parity space, specify 2 for the PhysicalDiskRedundancy parameter and Fixed provisioning for the ProvisioningType parameter.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-StoragePoolFriendlyName<String[]>

Specifies the friendly name of a storage pool. The cmdlet creates the storage tier in the storage pool that you specify.


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-StoragePoolName<String[]>

Specifies the name of a storage pool. The cmdlet creates the storage tier in the storage pool that you specify. This human-readable name is not necessarily unique.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-StoragePoolUniqueId<String[]>

Specifies the unique ID, as a string, of a storage pool. The cmdlet creates the storage tiers in the storage pool that has the ID that you specify.


Aliases

StoragePoolId

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

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

<WorkflowParameters>

This cmdlet supports the following workflow common parameters: -PSParameterCollection, -PSComputerName, -PSCredential, -PSConnectionRetryCount, -PSConnectionRetryIntervalSec, -PSRunningTimeoutSec, -PSElapsedTimeoutSec, -PSPersist, -PSAuthentication, -PSAuthenticationLevel, -PSApplicationName, -PSPort, -PSUseSSL, -PSConfigurationName, -PSConnectionURI, -PSAllowRedirection, -PSSessionOption, -PSCertificateThumbprint, -PSPrivateMetadata, -AsJob, -JobName, and –InputObject. For more information, see    about_WorkflowCommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Create a storage tier

This command creates a storage tier for hard disk drives named Tier11 in the storage pool named TierPool01.


PS C:\> New-StorageTier -StoragePoolFriendlyName "TierPool01" -FriendlyName "Standard_HDD_Tier" -MediaType HDD

Related topics

Community Additions

ADD
Show: