Share via


New-SCReplicationGroup

Creates a new replication group.

Syntax

NewRGFromLuns (Default)

New-SCReplicationGroup
    -Name <String>
    -StorageLogicalUnit <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageLogicalUnit]>
    [-VMMServer <ServerConnection>]
    [-Description <String>]
    [-CreateOnArray]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

NewRGFromFileShares

New-SCReplicationGroup
    -Name <String>
    -StorageFileShare <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageFileShare]>
    [-VMMServer <ServerConnection>]
    [-Description <String>]
    [-CreateOnArray]
    [-ProtectionMode <String>]
    [-ReplicationGroupType <ReplicationGroupType>]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

NewRGFromHostVolumes

New-SCReplicationGroup
    -Name <String>
    -StorageVolume <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]>
    [-VMMServer <ServerConnection>]
    [-Description <String>]
    [-CreateOnArray]
    [-ProtectionMode <String>]
    [-LogStorageVolume <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.StorageVolume]>]
    [-LogSizeInMB <UInt64>]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

NewSnapshotForTestFailover

New-SCReplicationGroup
    -Name <String>
    -SourceReplicationGroup <ReplicationGroup>
    [-VMMServer <ServerConnection>]
    [-Description <String>]
    [-CreateOnArray]
    [-LogicalUnitCopyMethod <String>]
    [-RunAsynchronously]
    [-PROTipID <Guid>]
    [-JobVariable <String>]
    [<CommonParameters>]

Description

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameters

-CreateOnArray

The New-SCReplicationGroup cmdlet creates a new 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 the replication group.

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

-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

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

-LogicalUnitCopyMethod

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

Type:String
Default value:None
Accepted values:Snapshot, Clone
Supports wildcards:False
DontShow:False

Parameter sets

NewSnapshotForTestFailover
Position:Named
Mandatory:False
Value from pipeline:True
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

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

-LogStorageVolume

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

Type:

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

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

NewRGFromHostVolumes
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.

Parameter properties

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

Parameter sets

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

-ProtectionMode

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

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

Parameter sets

NewRGFromFileShares
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
NewRGFromHostVolumes
Position:Named
Mandatory:False
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

-ReplicationGroupType

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

Type:ReplicationGroupType
Default value:None
Accepted values:None, Lun, Disk, Volume, Share, File
Supports wildcards:False
DontShow:False

Parameter sets

NewRGFromFileShares
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

-SourceReplicationGroup

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

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

Parameter sets

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

-StorageFileShare

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

Type:

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

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-StorageLogicalUnit

Specifies a storage logical unit object.

Parameter properties

Type:

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

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-StorageVolume

The New-SCReplicationGroup cmdlet creates a new replication group.

Parameter properties

Type:

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

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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

-VMMServer

Specifies a VMM server object.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
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.