Rename to remove plural noun
This commit is contained in:
@@ -24,7 +24,7 @@ function Import-ZertoVpg {
|
|||||||
$importedSettings.VpgSettingsIdentifier = $vpgSettingsIdentifier
|
$importedSettings.VpgSettingsIdentifier = $vpgSettingsIdentifier
|
||||||
$uri = "{0}/{1}" -f $baseUri, $vpgSettingsIdentifier
|
$uri = "{0}/{1}" -f $baseUri, $vpgSettingsIdentifier
|
||||||
Invoke-ZertoRestRequest -uri $uri -method "PUT" -body $($importedSettings | convertto-json -Depth 10)
|
Invoke-ZertoRestRequest -uri $uri -method "PUT" -body $($importedSettings | convertto-json -Depth 10)
|
||||||
$vpgSettingsIdentifier | Save-ZertoVpgSettings
|
$vpgSettingsIdentifier | Save-ZertoVpgSetting
|
||||||
if ($settingsFile.Count -gt 1) {
|
if ($settingsFile.Count -gt 1) {
|
||||||
Start-Sleep 5
|
Start-Sleep 5
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
|
||||||
function Save-ZertoVpgSettings {
|
function Save-ZertoVpgSetting {
|
||||||
[cmdletbinding(
|
[cmdletbinding(
|
||||||
SupportsShouldProcess = $true
|
SupportsShouldProcess = $true
|
||||||
)]
|
)]
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
---
|
---
|
||||||
external help file: ZertoApiWrapper-help.xml
|
external help file: ZertoApiWrapper-help.xml
|
||||||
Module Name: ZertoApiWrapper
|
Module Name: ZertoApiWrapper
|
||||||
online version: https://github.com/wcarroll/ZertoApiWrapper/blob/master/docs/Save-ZertoVpgSettings.md
|
online version: https://github.com/wcarroll/ZertoApiWrapper/blob/master/docs/Save-ZertoVpgSetting.md
|
||||||
schema: 2.0.0
|
schema: 2.0.0
|
||||||
---
|
---
|
||||||
|
|
||||||
# Save-ZertoVpgSettings
|
# Save-ZertoVpgSetting
|
||||||
|
|
||||||
## SYNOPSIS
|
## SYNOPSIS
|
||||||
Commits the updated Vpg Settings with the configured Vpg Settings Identifier
|
Commits the updated Vpg Settings with the configured Vpg Settings Identifier
|
||||||
@@ -13,7 +13,7 @@ Commits the updated Vpg Settings with the configured Vpg Settings Identifier
|
|||||||
## SYNTAX
|
## SYNTAX
|
||||||
|
|
||||||
```
|
```
|
||||||
Save-ZertoVpgSettings [-vpgSettingsIdentifier] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
|
Save-ZertoVpgSetting [-vpgSettingsIdentifier] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
|
||||||
```
|
```
|
||||||
|
|
||||||
## DESCRIPTION
|
## DESCRIPTION
|
||||||
@@ -23,7 +23,7 @@ Commits the updated Vpg Settings with the configured Vpg Settings Identifier
|
|||||||
|
|
||||||
### Example 1
|
### Example 1
|
||||||
```powershell
|
```powershell
|
||||||
PS C:> Save-ZertoVpgSettings -vpgSettingsIdentifier "MyVpgSettingsIdentifier"
|
PS C:> Save-ZertoVpgSetting -vpgSettingsIdentifier "MyVpgSettingsIdentifier"
|
||||||
```
|
```
|
||||||
|
|
||||||
Commits vpg settings with vpg settings identifier "MyVpgSettingsIdentifier"
|
Commits vpg settings with vpg settings identifier "MyVpgSettingsIdentifier"
|
||||||
@@ -39,7 +39,7 @@ Parameter Sets: (All)
|
|||||||
Aliases: vpgSettingsId
|
Aliases: vpgSettingsId
|
||||||
|
|
||||||
Required: True
|
Required: True
|
||||||
Position: 0
|
Position: 1
|
||||||
Default value: None
|
Default value: None
|
||||||
Accept pipeline input: True (ByPropertyName, ByValue)
|
Accept pipeline input: True (ByPropertyName, ByValue)
|
||||||
Accept wildcard characters: False
|
Accept wildcard characters: False
|
||||||
Reference in New Issue
Block a user