Windows PowerShell command on Get-command Set-ResiliencySetting
MyWebUniversity

Windows PowerShell command on Get-command Set-ResiliencySetting

NAME

Set-ResiliencySetting

SYNOPSIS

Modifies the properties of the specified resiliency setting name.

SYNTAX

Set-ResiliencySetting [-AutoNumberOfColumns] [-CimSession ] [-InterleaveDefault ]

[-NumberOfColumnsDefault ] [-NumberOfDataCopiesDefault ] [-NumberOfGroupsDefault ]

[-PassThru] [-PhysicalDiskRedundancyDefault ] [-ThrottleLimit ] -Name -StoragePool

[]

Set-ResiliencySetting [-AutoNumberOfColumns] [-CimSession ] [-InterleaveDefault ]

[-NumberOfColumnsDefault ] [-NumberOfDataCopiesDefault ] [-NumberOfGroupsDefault ]

[-PassThru] [-PhysicalDiskRedundancyDefault ] [-ThrottleLimit ] []

Set-ResiliencySetting [-AutoNumberOfColumns] [-CimSession ] [-InterleaveDefault ]

[-NumberOfColumnsDefault ] [-NumberOfDataCopiesDefault ] [-NumberOfGroupsDefault ]

[-PassThru] [-PhysicalDiskRedundancyDefault ] [-ThrottleLimit ] -UniqueId

[]

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.

PARAMETERS

-AutoNumberOfColumns []

Indicates whether the provider automatically determines the best possible column count for a resiliency setting on a storage pool. The value ranges are:

-- Mirror. The minimum is two for two-way mirror or three for three-way mirror. The maxmium is eight times the

number of data copies.

-- Parity. The minimum is three for single parity and seven for dual parity. The maximum is eight for single

parity and 17 for dual parity.

-- Simple. The minimum is one. The maximum is eight.

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-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. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-InterleaveDefault []

Specifies the default interleave value to use. The interleave value represents the number of bytes that is

written to a single physical disk. Therefore, Interleave * NumberOfColumns yields the size of one stripe of

user data. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-Name

Specifies the name of an object or setting. The acceptable values for this parameter are:simple, mirror, or parity. Required? true Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-NumberOfColumnsDefault []

Specifies the default number of columns to create. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-NumberOfDataCopiesDefault []

Specifies the default number of data copies to create. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-NumberOfGroupsDefault []

Specifies the default number of groups used by Local Reconstruction Coding (LRC) with a dual parity virtual disk. We recommend omitting this parameter and using the defaults. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-PassThru []

Sends items from the interactive window down the pipeline as input to other cmdlets. By default, this cmdlet does not generate any output. To send items from the interactive window down the pipeline, click to select the items and then click OK.

Shift-click and Ctrl-click are supported.

Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-PhysicalDiskRedundancyDefault []

Specifies the default number to use for the physical disk redundancy value. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-StoragePool

Accepts a StoragePool object as input. The Storage Pool CIM object is exposed by the Get-StoragePool cmdlet.

Required? true Position? named Default value none Accept pipeline input? True (ByValue) Accept wildcard characters? false

-ThrottleLimit []

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 PowerShellr 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. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false

-UniqueId

Specifies an ID used to uniquely identify a Disk object in the system. The ID persists through restarts. Required? true Position? named Default value none

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_ResiliencySetting http://msdn.microsoft.com/library/windows/desktop/hh830538.aspx You can use the pipeline operator to pass an MSFT_ResiliencySetting object to the InputObject parameter. Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StoragePool http://msdn.microsoft.com/library/windows/desktop/hh830551.aspx You can use the pipeline operator to pass an MSFT_StoragePool object to the StoragePool parameter.

OUTPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_ResiliencySetting http://msdn.microsoft.com/library/windows/desktop/hh830538.aspx This cmdlet generates an object that represents resiliency settings if you specify the PassThru parameter.

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 parameter. A two-way mirror with eight columns requires 16 physical disks to create.

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816484

Get-ResiliencySetting

Get-StoragePool



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™