From 18185612bb87055c39699d45a034c9601858a216 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 2 Mar 2020 09:51:23 -0500 Subject: [PATCH 1/3] Fixed recovery switch typo --- ZertoApiWrapper/Public/Get-ZertoVpgSetting.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ZertoApiWrapper/Public/Get-ZertoVpgSetting.ps1 b/ZertoApiWrapper/Public/Get-ZertoVpgSetting.ps1 index 39a59e3..cf64840 100644 --- a/ZertoApiWrapper/Public/Get-ZertoVpgSetting.ps1 +++ b/ZertoApiWrapper/Public/Get-ZertoVpgSetting.ps1 @@ -211,7 +211,8 @@ function Get-ZertoVpgSetting { Mandatory = $true, HelpMessage = "Get VPG Recovery Settings" )] - [switch]$rcovery, + [Alias("rcovery")] + [switch]$recovery, [Parameter( ParameterSetName = "scripting", Mandatory = $true, From 772848beeff1af9e68d0dea1e0cf105145f83c22 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 2 Mar 2020 09:53:55 -0500 Subject: [PATCH 2/3] Updated help file to reflect typo correction --- docs/Get-ZertoVpgSetting.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Get-ZertoVpgSetting.md b/docs/Get-ZertoVpgSetting.md index d7e0411..8b671cc 100644 --- a/docs/Get-ZertoVpgSetting.md +++ b/docs/Get-ZertoVpgSetting.md @@ -56,7 +56,7 @@ Get-ZertoVpgSetting -vpgSettingsIdentifier [-scripting] [ [-rcovery] [] +Get-ZertoVpgSetting -vpgSettingsIdentifier [-recovery] [] ``` ### priority @@ -288,13 +288,13 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -rcovery +### -recovery Get VPG Recovery Settings ```yaml Type: SwitchParameter Parameter Sets: recovery -Aliases: +Aliases: rcovery Required: True Position: Named From 37165e18a79d86806417d38a878ec155e6551180 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 2 Mar 2020 10:00:45 -0500 Subject: [PATCH 3/3] Typo Correction Update --- RELEASENOTES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index d392c98..ede0d6b 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -6,3 +6,4 @@ * Addressed a reported [issue](https://github.com/ZertoPublic/ZertoApiWrapper/issues/61) where the `Export-ZertoVpgNicSetting` function would not properly execute when run against a VM with no NICs attached. * In reviewing the `Export-ZertoVpgNicSetting`, a review of the `Import-ZertoVpgNicSetting` was completed and it was determined to update the import logic based on various test cases. Along with this, it is now possible to reset the NIC settings to the default state with the `Import-ZertoVpgNicSetting` command. Please review the [Import-ZertoVpgNicSetting help](https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Import-ZertoVmNicSetting.md) to review the updated options and import logic. * Refactored the `Checkpoint-ZertoVpg` command to allow pipeline input (ByValue and ByProperty) for the VpgName parameter. +* Corrected a parameter typo in the `Get-ZertoVpgSetting` function. The misspelt parameter was added as an alias to ensure any existing scripts using the parameter continue to function.