PowerShell Logo Small

Set-StorageTier



This is the built-in help made by Microsoft for the command 'Set-StorageTier', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Modifies a storage tier.

SYNTAX


Set-StorageTier [-AsJob] [-CimSession <CimSession[]>] [-NewFriendlyName <String>] [-ThrottleLimit <Int32>] -UniqueId <String> [<CommonParameters>]
Set-StorageTier [-AsJob] [-CimSession <CimSession[]>] [-MediaType <MediaType>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [<CommonParameters>]
Set-StorageTier [-AsJob] [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] -UniqueId <String> [<CommonParameters>]
Set-StorageTier [-FriendlyName] <String> [-AsJob] [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Set-StorageTier [-FriendlyName] <String> [-AsJob] [-CimSession <CimSession[]>] [-MediaType <MediaType>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Set-StorageTier [-FriendlyName] <String> [-AsJob] [-CimSession <CimSession[]>] [-NewFriendlyName <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Set-StorageTier [-AsJob] [-CimSession <CimSession[]>] [-MediaType <MediaType>] [-ThrottleLimit <Int32>] -UniqueId <String> [<CommonParameters>]
Set-StorageTier [-AsJob] [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [<CommonParameters>]
Set-StorageTier [-AsJob] [-CimSession <CimSession[]>] [-NewFriendlyName <String>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-StorageTier cmdlet modifies a storage tier. Use this cmdlet to change the name and description of a storage tier, and to change the media type that is associated
with storage tier.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=288747
Get-StorageTier
New-StorageTier
Remove-StorageTier
Resize-StorageTier
Get-VirtualDisk

REMARKS

<

Examples


Example 1: Change the name of a storage tier

PS C:\> Set-StorageTier -UniqueId '{49dde1c4-5c34-11e2-8441-00155de88701}' -NewFriendlyName "FastTier"



This command changes the friendly name of the storage tier that has the specified ID.




Example 2: Change the description of a storage tier

PS C:\> Get-StorageTier -FriendlyName "FastTier" | Set-StorageTier -Description "This tier denotes fast media in the system"



This command uses the Get-StorageTier cmdlet to get the storage tier named FastTier, and then passes the storage tier to the Set-StorageTier cmdlet by using the pipeline
operator. The Set-StorageTier cmdlet changes the description of the storage tier to the specified string.