Merge branch 'fix-typos'

This commit is contained in:
Wes Carroll
2020-03-02 10:30:12 -05:00
3 changed files with 6 additions and 4 deletions
+1
View File
@@ -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. * 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. * 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. * 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.
@@ -211,7 +211,8 @@ function Get-ZertoVpgSetting {
Mandatory = $true, Mandatory = $true,
HelpMessage = "Get VPG Recovery Settings" HelpMessage = "Get VPG Recovery Settings"
)] )]
[switch]$rcovery, [Alias("rcovery")]
[switch]$recovery,
[Parameter( [Parameter(
ParameterSetName = "scripting", ParameterSetName = "scripting",
Mandatory = $true, Mandatory = $true,
+3 -3
View File
@@ -56,7 +56,7 @@ Get-ZertoVpgSetting -vpgSettingsIdentifier <String[]> [-scripting] [<CommonParam
### recovery ### recovery
``` ```
Get-ZertoVpgSetting -vpgSettingsIdentifier <String[]> [-rcovery] [<CommonParameters>] Get-ZertoVpgSetting -vpgSettingsIdentifier <String[]> [-recovery] [<CommonParameters>]
``` ```
### priority ### priority
@@ -288,13 +288,13 @@ Accept pipeline input: False
Accept wildcard characters: False Accept wildcard characters: False
``` ```
### -rcovery ### -recovery
Get VPG Recovery Settings Get VPG Recovery Settings
```yaml ```yaml
Type: SwitchParameter Type: SwitchParameter
Parameter Sets: recovery Parameter Sets: recovery
Aliases: Aliases: rcovery
Required: True Required: True
Position: Named Position: Named