bc9e485346
Add SupportShouldProcess
2.5 KiB
2.5 KiB
external help file, Module Name, online version, schema
| external help file | Module Name | online version | schema |
|---|---|---|---|
| ZertoApiWrapper-help.xml | ZertoApiWrapper | https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Invoke-ZertoFailoverCommit.md | 2.0.0 |
Invoke-ZertoFailoverCommit
SYNOPSIS
Commit a running VPG failover
SYNTAX
Invoke-ZertoFailoverCommit [-vpgName] <String[]> [-reverseProtection] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Commit a running VPG failover
EXAMPLES
Example 1
PS C:\> Invoke-ZertoFailoverCommit -vpgName "MyVpg"
Commits VPG "MyVpg" without reverse protection
Example 1
PS C:\> Invoke-ZertoFailoverCommit -vpgName "MyVpg" -reverseProtection
Commits a VPG with reverse protection
PARAMETERS
-reverseProtection
Use this switch to reverse protect the VPG(s) to the source site.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
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: 0
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 (http://go.microsoft.com/fwlink/?LinkID=113216).