PowerShell Logo Small

Set-StoragePool



This is the built-in help made by Microsoft for the command 'Set-StoragePool', 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 the properties of the specified storage pool.

SYNTAX


Set-StoragePool [-AsJob] [-CimSession <CimSession[]>] [-ClearOnDeallocate <Boolean>] [-IsPowerProtected <Boolean>] [-NewFriendlyName <String>] [-OtherUsageDescription
<String>] [-RepairPolicy <RepairPolicy>] [-RetireMissingPhysicalDisks <RetireMissingPhysicalDisks>] [-ThinProvisioningAlertThresholds <UInt16[]>] [-ThrottleLimit <Int32>]
[-Usage <Usage>] -UniqueId <String> [<CommonParameters>]
Set-StoragePool [-AsJob] [-CimSession <CimSession[]>] [-IsReadOnly <Boolean>] [-ThrottleLimit <Int32>] -UniqueId <String> [<CommonParameters>]
Set-StoragePool [-AsJob] [-CimSession <CimSession[]>] [-ClearOnDeallocate <Boolean>] [-IsPowerProtected <Boolean>] [-NewFriendlyName <String>] [-OtherUsageDescription
<String>] [-RepairPolicy <RepairPolicy>] [-RetireMissingPhysicalDisks <RetireMissingPhysicalDisks>] [-ThinProvisioningAlertThresholds <UInt16[]>] [-ThrottleLimit <Int32>]
[-Usage <Usage>] -Name <String> [<CommonParameters>]
Set-StoragePool [-AsJob] [-AutoWriteCacheSize <Boolean>] [-CimSession <CimSession[]>] [-EnclosureAwareDefault <Boolean>] [-ProvisioningTypeDefault <ProvisioningType>]
[-ResiliencySettingNameDefault <String>] [-ThrottleLimit <Int32>] [-WriteCacheSizeDefault <UInt64>] -UniqueId <String> [<CommonParameters>]
Set-StoragePool [-InputObject] <CimInstance[]> [-AsJob] [-AutoWriteCacheSize <Boolean>] [-CimSession <CimSession[]>] [-EnclosureAwareDefault <Boolean>]
[-ProvisioningTypeDefault <ProvisioningType>] [-ResiliencySettingNameDefault <String>] [-ThrottleLimit <Int32>] [-WriteCacheSizeDefault <UInt64>] [<CommonParameters>]
Set-StoragePool [-InputObject] <CimInstance[]> [-AsJob] [-CimSession <CimSession[]>] [-ClearOnDeallocate <Boolean>] [-IsPowerProtected <Boolean>] [-NewFriendlyName <String>]
[-OtherUsageDescription <String>] [-RepairPolicy <RepairPolicy>] [-RetireMissingPhysicalDisks <RetireMissingPhysicalDisks>] [-ThinProvisioningAlertThresholds <UInt16[]>]
[-ThrottleLimit <Int32>] [-Usage <Usage>] [<CommonParameters>]
Set-StoragePool [-InputObject] <CimInstance[]> [-AsJob] [-CimSession <CimSession[]>] [-IsReadOnly <Boolean>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Set-StoragePool [-FriendlyName] <String> [-AsJob] [-CimSession <CimSession[]>] [-ClearOnDeallocate <Boolean>] [-IsPowerProtected <Boolean>] [-NewFriendlyName <String>]
[-OtherUsageDescription <String>] [-RepairPolicy <RepairPolicy>] [-RetireMissingPhysicalDisks <RetireMissingPhysicalDisks>] [-ThinProvisioningAlertThresholds <UInt16[]>]
[-ThrottleLimit <Int32>] [-Usage <Usage>] [<CommonParameters>]
Set-StoragePool [-AsJob] [-CimSession <CimSession[]>] [-IsReadOnly <Boolean>] [-ThrottleLimit <Int32>] -Name <String> [<CommonParameters>]
Set-StoragePool [-FriendlyName] <String> [-AsJob] [-CimSession <CimSession[]>] [-IsReadOnly <Boolean>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Set-StoragePool [-FriendlyName] <String> [-AsJob] [-AutoWriteCacheSize <Boolean>] [-CimSession <CimSession[]>] [-EnclosureAwareDefault <Boolean>] [-ProvisioningTypeDefault
<ProvisioningType>] [-ResiliencySettingNameDefault <String>] [-ThrottleLimit <Int32>] [-WriteCacheSizeDefault <UInt64>] [<CommonParameters>]
Set-StoragePool [-AsJob] [-AutoWriteCacheSize <Boolean>] [-CimSession <CimSession[]>] [-EnclosureAwareDefault <Boolean>] [-ProvisioningTypeDefault <ProvisioningType>]
[-ResiliencySettingNameDefault <String>] [-ThrottleLimit <Int32>] [-WriteCacheSizeDefault <UInt64>] -Name <String> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-StoragePool cmdlet modifies the properties of the specified storage pool.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=307035
Get-StoragePool
New-StoragePool
Remove-StoragePool

REMARKS

<

Examples


Example 1: Change the friendly name

PS C:\>Set-StoragePool -FriendlyName StoragePool -NewFriendlyName StoragePool2



This example changes the friendly name of StoragePool to StoragePool2.




Example 2: Make a read-only storage pool writeable

PS C:\>Set-StoragePool -FriendlyName "Storage Pool 1" -IsReadOnly $False



This example makes the storage pool named Storage Pool 1 writable when it is in a read-only state.




Example 3: Set the default resiliency and provisioning settings

PS C:\>Set-StoragePool -FriendlyName "Storage Pool 1" -ResiliencySettingsNameDefault Mirror -ProvisioningTypeDefault Thin



This example makes any new virtual disks by default use the Mirror resiliency setting and thin provisioning.