Share via


Set-SCReplicationGroup

Modifies a replication group.

Syntax

AddRemoveLunsToRG (Default)

Set-SCReplicationGroup
    [-ReplicationGroup] <ReplicationGroup>
    [-Name <String>]
    [-Description <String>]
    [-AddStorageLuns <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>]
    [-RemoveStorageLuns <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>]
    [-CreateOnArray]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

AddRemoveFileSharesToRG

Set-SCReplicationGroup
    [-ReplicationGroup] <ReplicationGroup>
    [-Name <String>]
    [-Description <String>]
    [-AddStorageFileShare <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]>]
    [-RemoveStorageFileShare <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]>]
    [-LogStorageVolume <StorageVolume>]
    [-LogSizeInMB <UInt64>]
    [-CreateOnArray]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

AddRemoveHostVolumesToRG

Set-SCReplicationGroup
    [-ReplicationGroup] <ReplicationGroup>
    [-AddStorageVolume <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]>]
    [-RemoveStorageVolume <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]>]
    [-CreateOnArray]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

ModifyOperations

Set-SCReplicationGroup
    [-ReplicationGroup] <ReplicationGroup>
    -Operation <String>
    [-CreateOnArray]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

EnableProtectionOperation

Set-SCReplicationGroup
    [-ReplicationGroup] <ReplicationGroup>
    -Operation <String>
    -EnableProtectionMode <String>
    [-CreateOnArray]
    [-TargetReplicationGroup <ReplicationGroup>]
    [-TargetLogicalUnit <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>]
    [-TargetStoragePool <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool]>]
    [-Rpo <UInt32>]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

Description

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameters

-AddStorageFileShare

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveFileSharesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AddStorageLuns

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveLunsToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-AddStorageVolume

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveHostVolumesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-CreateOnArray

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Description

Specifies a description for a replication group.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveLunsToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AddRemoveFileSharesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-EnableProtectionMode

Specifies the enable protection mode. The acceptable values for this parameter are:

  • Asynchronous
  • Synchronous

Parameter properties

Type:String
Default value:None
Accepted values:Asynchronous, Synchronous
Supports wildcards:False
DontShow:False

Parameter sets

EnableProtectionOperation
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-JobVariable

Specifies a variable in which job progress is tracked and stored.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LogSizeInMB

Specifies the log size, in megabytes (MB).

Parameter properties

Type:UInt64
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveFileSharesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-LogStorageVolume

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:StorageVolume
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveFileSharesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of the replication group to modify.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveLunsToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
AddRemoveFileSharesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Operation

Specifies the operation. The acceptable values for this parameter are:

  • EnableProtection
  • PrepareForFailover
  • Failover
  • PrepareForReverseRoles
  • ReverseRoles
  • Resync
  • TearDown

Parameter properties

Type:String
Default value:None
Accepted values:EnableProtection, PrepareForFailover, Failover, PrepareForReverseRoles, ReverseRoles, Resync, TearDown
Supports wildcards:False
DontShow:False

Parameter sets

ModifyOperations
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
EnableProtectionOperation
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveStorageFileShare

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveFileSharesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveStorageLuns

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveLunsToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RemoveStorageVolume

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

AddRemoveHostVolumesToRG
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ReplicationGroup

Specifies the replication group to modify.

Parameter properties

Type:ReplicationGroup
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Rpo

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:UInt32
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EnableProtectionOperation
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetLogicalUnit

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EnableProtectionOperation
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetReplicationGroup

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:ReplicationGroup
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EnableProtectionOperation
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-TargetStoragePool

The Set-SCReplicationGroup cmdlet modifies a replication group.

Parameter properties

Type:

System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StoragePool]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

EnableProtectionOperation
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.