PowerShell Logo Small

Set-ResiliencySetting



This is the built-in help made by Microsoft for the command 'Set-ResiliencySetting', 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 resiliency setting name.

SYNTAX


Set-ResiliencySetting [-AsJob] [-AutoNumberOfColumns] [-CimSession <CimSession[]>] [-InterleaveDefault <UInt64>] [-NumberOfColumnsDefault <UInt16>]
[-NumberOfDataCopiesDefault <UInt16>] [-PassThru] [-PhysicalDiskRedundancyDefault <UInt16>] [-ThrottleLimit <Int32>] -Name <String[]> -StoragePool <CimInstance>
[<CommonParameters>]
Set-ResiliencySetting [-AsJob] [-AutoNumberOfColumns] [-CimSession <CimSession[]>] [-InterleaveDefault <UInt64>] [-NumberOfColumnsDefault <UInt16>]
[-NumberOfDataCopiesDefault <UInt16>] [-PassThru] [-PhysicalDiskRedundancyDefault <UInt16>] [-ThrottleLimit <Int32>] -UniqueId <String[]> [<CommonParameters>]
Set-ResiliencySetting [-AsJob] [-AutoNumberOfColumns] [-CimSession <CimSession[]>] [-InterleaveDefault <UInt64>] [-NumberOfColumnsDefault <UInt16>]
[-NumberOfDataCopiesDefault <UInt16>] [-PassThru] [-PhysicalDiskRedundancyDefault <UInt16>] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-ResiliencySetting cmdlet modifies the properties of the specified resiliency setting name. For example, the user can specify that when creating any new virtual disk
using the resiliency setting named Mirror, that the default interleave value would be 128K, or to define the default number of columns to use when creating a Simple (stripe
without parity) virtual disk.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=307034
Get-ResiliencySetting
Get-StoragePool

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Set-ResiliencySetting -Name "Mirror" -StoragePool (Get-StoragePool -FriendlyName "CompanyData") -NumberofColumnsDefault 8 -NumberofDataCopies 2



This example sets the default number of columns to eight on virtual disks that use the Mirror setting, with the number of data copies set to two, indicating a two-way
mirror, instead of a three-way mirror. The command uses the Get-StoragePool cmdlet to obtain the storage pool that has the friendly name CompanyData as a value for the
StoragePool variable. A two-way mirror with eight columns requires 16 physical disks to create.