From 460b57b3e403fb72c70bb3a1c302eaa3ec13086a Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Sun, 10 Mar 2019 22:12:57 -0400 Subject: [PATCH] Convert switches to bools --- ZertoApiWrapper/Public/Remove-ZertoVpg.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ZertoApiWrapper/Public/Remove-ZertoVpg.ps1 b/ZertoApiWrapper/Public/Remove-ZertoVpg.ps1 index f5b10f9..3645ec7 100644 --- a/ZertoApiWrapper/Public/Remove-ZertoVpg.ps1 +++ b/ZertoApiWrapper/Public/Remove-ZertoVpg.ps1 @@ -8,13 +8,13 @@ function Remove-ZertoVpg { )] [string]$vpgName, [Parameter( - HelpMessage = "Use this switch to keep the recovery volumes at the target site. If the virtual machines in the deleted VPG are reprotected, these volumes can be used as preseeded volumes to speed up the initial synchronization of the new VPG." + HelpMessage = "Use this parameter to keep the recovery volumes at the target site, by setting it to True. If the virtual machines in the deleted VPG are reprotected, these volumes can be used as preseeded volumes to speed up the initial synchronization of the new VPG. Default is to remove Recovery Volumes" )] - [switch]$keepRecoveryVolumes, + [bool]$keepRecoveryVolumes = $false, [Parameter( - HelpMessage = "Use this switch to force delete the VPG." + HelpMessage = "Use this parameter to force delete the VPG, by setting this parameter equal to true." )] - [switch]$force + [bool]$force = $false ) begin {