Add ShouldProcess

This commit is contained in:
Wes Carroll
2019-04-06 23:49:18 -04:00
parent 7c3f14aaeb
commit b9d781f785
+31 -1
View File
@@ -13,7 +13,7 @@ Rollback a VPG currently undergoing a Move operation
## SYNTAX
```
Invoke-ZertoMoveRollback [-vpgName] <String[]> [<CommonParameters>]
Invoke-ZertoMoveRollback [-vpgName] <String[]> [-WhatIf] [-Confirm] [<CommonParameters>]
```
## DESCRIPTION
@@ -45,6 +45,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).