Files
ZertoApiWrapper/docs/Invoke-ZertoMoveCommit.md
2020-05-09 20:10:13 -04:00

4.1 KiB

external help file, Module Name, online version, schema
external help file Module Name online version schema
ZertoApiWrapper-help.xml ZertoApiWrapper Invoke-ZertoMoveCommit.md 2.0.0

Invoke-ZertoMoveCommit

SYNOPSIS

Commit a VPG currently undergoing a move operation.

SYNTAX

Main (Default)

Invoke-ZertoMoveCommit -vpgName <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]

ReverseProtect

Invoke-ZertoMoveCommit -vpgName <String[]> [-reverseProtection] [-WhatIf] [-Confirm] [<CommonParameters>]

KeepSource

Invoke-ZertoMoveCommit -vpgName <String[]> [-keepSourceVms] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Commit a VPG currently undergoing a move operation.

EXAMPLES

Example 1

PS C:\> Invoke-ZertoMoveCommit -vpgName "MyVpg"

Commit VPG "MyVpg" after a move operation has been completed. This commit process with use the -KeepSourceVms or -ReverseProtection selection made during the move initation.

Example 2

PS C:\> Invoke-ZertoMoveCommit -vpgName "MyVpg" -keepSourceVms

Commit VPG "MyVpg" after a move operation has been completed specifying to keep the vms at the source location and NOT reverse protection. This commit process will overrule any reverse protection or keep source vms selection made during the move initiation.

Example 3

PS C:\> Invoke-ZertoMoveCommit -vpgName "MyVpg" -reverseProtection

Commit VPG "MyVpg" after a move operation has been completed specifying to reverse protection of the VMs back to the source location. The VMs at the source location will be removed from inventory at the source location and the disks will be used as pre-seed volumes. This commit process will overrule any reverse protection or keep source vms selection made during the move initiation.

PARAMETERS

-keepSourceVms

"Use this switch to keep the source VMs at the source site. If neither 'ReverseProtction' nor 'KeepSourceVms' switch is specified, the commit process will use selection made during move initiation."

Type: SwitchParameter
Parameter Sets: KeepSource
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-reverseProtection

"Use this switch to reverse protect the VPG(s) to the source site. If neither 'ReverseProtction' nor 'KeepSourceVms' switch is specified, the commit process will use selection made during move initiation."

Type: SwitchParameter
Parameter Sets: ReverseProtect
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-vpgName

Name(s) of the VPG(s) to commit.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

None

OUTPUTS

System.Object

NOTES

Zerto REST API VPG End Point Documentation