Update Import-ZertoVpg.md

This commit is contained in:
Wes Carroll
2019-04-28 16:11:12 -04:00
parent 4946ac51ba
commit b6fd4a57e2
+62 -62
View File
@@ -1,62 +1,62 @@
--- ---
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/Import-ZertoVpg.md online version: https://github.com/wcarroll/ZertoApiWrapper/blob/Master/docs/Import-ZertoVpg.md
schema: 2.0.0 schema: 2.0.0
--- ---
# Import-ZertoVpg # Import-ZertoVpg
## SYNOPSIS ## SYNOPSIS
Reads in one or more JSON files and imports each one into a VPG. Reads in one or more JSON files and imports each one into a VPG.
## SYNTAX ## SYNTAX
``` ```
Import-ZertoVpg [-settingsFile] <String[]> [<CommonParameters>] Import-ZertoVpg [-settingsFile] <String[]> [<CommonParameters>]
``` ```
## DESCRIPTION ## DESCRIPTION
Reads in one or several JSON files and imports each one into a VPG. Currently this method does not support using pre-seed volumes. We are working through a method to get this working, but it may be a while until this happens. Reads in one or several JSON files and imports each one into a VPG. Currently this method does not support using pre-seed volumes. We are working through a method to get this working, but it may be a while until this happens.
## EXAMPLES ## EXAMPLES
### Example 1 ### Example 1
```powershell ```powershell
PS C:> Import-ZertoVpg -settingsFile "C:\ZertoVpgs\My Vpg.json" PS C:> Import-ZertoVpg -settingsFile "C:\ZertoVpgs\My Vpg.json"
``` ```
Reads in "My Vpg.json", creates a new VPG object, applies all the settings and saves the VPG. Reads in "My Vpg.json", creates a new VPG object, applies all the settings and saves the VPG.
## PARAMETERS ## PARAMETERS
### -settingsFile ### -settingsFile
VPG settings JSON file(s) to import. VPG settings JSON file(s) to import.
```yaml ```yaml
Type: String[] Type: String[]
Parameter Sets: (All) Parameter Sets: (All)
Aliases: FullName Aliases: FullName
Required: True Required: True
Position: 0 Position: 0
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
``` ```
### CommonParameters ### 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). 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).
## INPUTS ## INPUTS
### System.String[] ### System.String[]
## OUTPUTS ## OUTPUTS
### System.Object ### System.Object
## NOTES ## NOTES
## RELATED LINKS ## RELATED LINKS
[Zerto REST API VPG Settings End Point Documentation](http://s3.amazonaws.com/zertodownload_docs/Latest/Zerto%20Virtual%20Replication%20Zerto%20Virtual%20Manager%20%28ZVM%29%20-%20vSphere%20Online%20Help/RestfulAPIs/StatusAPIs.5.108.html#) [Zerto REST API VPG Settings End Point Documentation](http://s3.amazonaws.com/zertodownload_docs/Latest/Zerto%20Virtual%20Replication%20Zerto%20Virtual%20Manager%20%28ZVM%29%20-%20vSphere%20Online%20Help/RestfulAPIs/StatusAPIs.5.108.html#)