Export-RubrikVCDTemplate
SYNOPSIS
Exports a given vCD template
SYNTAX
DESCRIPTION
The Export-RubrikVCDTemplate cmdlet exports the specified vCD template
EXAMPLES
EXAMPLE 1
This exports the vCD Template snapshot with ID 01234567-8910-1abc-d435-0abc1234d567 to the vCD catalog with ID 01234567-8910-1abc-d435-0abc1234d567. The template will be exported to Org vDC ID with 01234567-8910-1abc-d435-0abc1234d567 temporarily, before being imported to the vCD catalog. This should be an Org vDC in the same vCD Org where the target catalog exists. Finding needed IDs can be done directly via API, or via a command similar to (Invoke-RubrikRESTCall -Endpoint 'vcd/hierarchy/VcdOrg:::01234567-8910-1abc-d435-0abc1234d567/children' -api 'internal' -Method GET).data
PARAMETERS
-id
Rubrik snapshot id of the vApp to export
-name
Name of the newly exported vCD Template. Defaults to [TemplateName]-Export
-catalogid
ID of target catalog. Defaults to the existing catalog.
-orgvdcid
Org vDC ID to export the vCD Template to. This should be an Org vDC in the same vCD Org where the target catalog exists.
-storagePolicyId
ID of the storage policy used to create the template. Defaults to Org VDC settings.
-Server
Rubrik server IP or FQDN
-api
API version
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.
INPUTS
OUTPUTS
NOTES
Written by Matt Elliott for community usage Twitter: @NetworkBrouhaha GitHub: shamsway
RELATED LINKS
Last updated