From 51146fd933ccfdcb57daa91c3a840f8cf0a2968a Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Wed, 17 Apr 2019 09:23:19 -0400 Subject: [PATCH] Update Invoke-ZertoMove.md --- docs/Invoke-ZertoMove.md | 117 +++++++++++++++++++++++---------------- 1 file changed, 70 insertions(+), 47 deletions(-) diff --git a/docs/Invoke-ZertoMove.md b/docs/Invoke-ZertoMove.md index 4cfd149..0f0ac71 100644 --- a/docs/Invoke-ZertoMove.md +++ b/docs/Invoke-ZertoMove.md @@ -12,10 +12,23 @@ Start a move of a VPG. ## SYNTAX +### main (Default) ``` Invoke-ZertoMove [-vpgName] [[-commitPolicy] ] [[-commitPolicyTimeout] ] - [[-forceShutdown] ] [[-reverseProtection] ] [[-keepSourceVms] ] - [[-continueOnPreScriptFailure] ] [] + [-forceShutdown] [-ContinueOnPreScriptFailure] [-WhatIf] [-Confirm] [] +``` + +### disableReverseProtection +``` +Invoke-ZertoMove [-vpgName] [[-commitPolicy] ] [[-commitPolicyTimeout] ] + [-forceShutdown] [-disableReverseProtection] [-ContinueOnPreScriptFailure] [-WhatIf] [-Confirm] + [] +``` + +### keepSourceVms +``` +Invoke-ZertoMove [-vpgName] [[-commitPolicy] ] [[-commitPolicyTimeout] ] + [-forceShutdown] [-keepSourceVms] [-ContinueOnPreScriptFailure] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -69,15 +82,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -continueOnPreScriptFailure -False: Do not continue the Move operation in case of failure of script executing prior the operation. - -True: Continue the Move operation in case of failure of script executing prior the operation. - -Default: False +### -ContinueOnPreScriptFailure +Use this switch to continue the Move operation even if the Pre-Script fails to run properly. ```yaml -Type: Boolean +Type: SwitchParameter Parameter Sets: (All) Aliases: @@ -88,15 +97,26 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -forceShutdown -False: If a utility (VMware Tools) is installed on the protected virtual machines, the procedure waits five minutes for the virtual machines to be gracefully shut down before forcibly powering them off. - -True: To force a shutdown of the virtual machines. - -Default: True +### -disableReverseProtection +Do not enable reverse protection. The VPG definition is kept with the status Needs Configuration and the reverse settings in the VPG definition are not set. ```yaml -Type: Boolean +Type: SwitchParameter +Parameter Sets: disableReverseProtection +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -forceShutdown +By default all virtual machines will attempt to be gracefully shutdown. If a source VM is not running VMware tools or cannot be gracefully shutdown, use this switch to force shutdown the source VMs. + +```yaml +Type: SwitchParameter Parameter Sets: (All) Aliases: @@ -108,47 +128,20 @@ Accept wildcard characters: False ``` ### -keepSourceVms -False: Remove the protected virtual machines from the protected site. - -True: Prevent the protected virtual machines from being deleted in the protected site. - -Default: False +Use this switch to Prevent the protected virtual machines from being deleted in the protected site. Reverse protection is not automatic with this selection and should reverse protection be required, must be manually configured post commit. ```yaml -Type: Boolean -Parameter Sets: (All) +Type: SwitchParameter +Parameter Sets: keepSourceVms Aliases: -Required: False +Required: True Position: 5 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` -### -reverseProtection -False: Do not enable reverse protection. -The VPG definition is kept with the status Needs Configuration and the reverse settings in the VPG definition are not set. - -True: Enable reverse protection. -The virtual machines are recovered on the recovery site and then protected using the default reverse protection settings. - -Default Value: True - -Note: If ReverseProtection is set to True, the KeepSourceVMs should be ignored because the virtual disks of the VMs are used for replication and cannot have VMs attached. - -```yaml -Type: Boolean -Parameter Sets: (All) -Aliases: - -Required: False -Position: 4 -Default value: None -Accept pipeline input: False -Accept wildcard characters: False -``` - ### -vpgName Name(s) of the VPG(s) you want to move. @@ -164,6 +157,36 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +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. + +```yaml +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).