Export (0) Print
Expand All
Expand Minimize

Get-StorageTier

Windows Server 2012 R2 and Windows 8.1

Updated: June 4, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-StorageTier

Gets storage tiers on Storage Spaces subsystems.

Syntax

Parameter Set: ByFriendlyName
Get-StorageTier [[-FriendlyName] <String[]> ] [-AsJob] [-CimSession <CimSession[]> ] [-MediaType <MediaType[]> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: ByStoragePool
Get-StorageTier [-AsJob] [-CimSession <CimSession[]> ] [-MediaType <MediaType[]> ] [-StoragePool <CimInstance> ] [-ThrottleLimit <Int32> ] [ <CommonParameters>]

Parameter Set: ByUniqueId
Get-StorageTier [-AsJob] [-CimSession <CimSession[]> ] [-MediaType <MediaType[]> ] [-ThrottleLimit <Int32> ] [-UniqueId <String[]> ] [ <CommonParameters>]

Parameter Set: ByVirtualDisk
Get-StorageTier [-AsJob] [-CimSession <CimSession[]> ] [-MediaType <MediaType[]> ] [-ThrottleLimit <Int32> ] [-VirtualDisk <CimInstance> ] [ <CommonParameters>]




Detailed Description

The Get-StorageTier gets storage tiers on Storage Spaces subsystems. Storage tiers are physical disks that are grouped by characteristics, for example, solid-state drives (SSD) and hybrid hard drives (HHD).

Parameters

-AsJob

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 an array of friendly names of storage tiers to get.


Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MediaType<MediaType[]>

Specifies an array of media types. The cmdlet gets the storage tiers for the media type that you specify. The acceptable values for this parameter are: 

-- SSD
-- HDD


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-StoragePool<CimInstance>

Specifies a storage pool as a CIMInstance object. The cmdlet gets the storage tiers for the storage pool that you specify. To obtain a storage pool, use the Get-StoragePool cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

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

-UniqueId<String[]>

Specifies an array of IDs of storage tiers to get.


Aliases

Id

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-VirtualDisk<CimInstance>

Specifies a virtual disk as a CIMInstance object. The cmdlet gets the storage tiers for the virtual disk that you specify. To obtain a virtual disk, use theGet-VirtualDisk cmdlet.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

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

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.

  • MSFT_StorageTier

    This cmdlet returns an object that contains details about the storage tier, such as tier friendly name, media type and size.


Examples

Example 1: Get a storage tier

This command gets the storage tier named StoreTier01.


PS C:\> Get-StorageTier -FriendlyName "StoreTier01"

Example 2: Get a storage tier from a storage pool

This command gets the object that contains the storage pool named StorePool01, and then passes the object to the Get-StorageTier cmdlet by using the pipeline operator. The Get-StorageTier cmdlet gets the storage tier from the storage pool object.


PS C:\> Get-StoragePool -StoragePoolFriendlyName "StorePool01" | Get-StorageTier

Example 3: Get a storage tier from a virtual disk

This command uses the Get-VirtualDisk cmdlet to get the tiered virtual disk named VDisk01. The command passes the virtual disk to the Get-StorageTier cmdlet by using the pipeline operator. The Get-StorageTier cmdlet gets the storage tiers that compose the tiered virtual disk.


PS C:\> Get-VirtualDisk-FriendlyName "VDisk01" | Get-StorageTier

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft