Export-R1DataSourceType
Export-R1DataSourceType
SYNOPSIS
Exports data source type templates.
SYNTAX
Export-R1DataSourceType [-templates] <String[]> [[-Path] <String>] [<CommonParameters>]
DESCRIPTION
Exports the named templates and writes the archive into the given directory as templates.zip. The file that was written is returned.
EXAMPLES
Example 1
Export-R1DataSourceType -templates 'My Custom' -Path 'C:\backup'
Exports one template into C:\backup as a zip archive.
Example 2
Export-R1DataSourceType -templates 'My Custom', 'My Other' -Path 'C:\backup\templates.zip'
Exports two templates into a single archive with the name given.
PARAMETERS
-templates
The names of the templates.
Type: String[]
Parameter Sets: (All)
Aliases: name
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
-Path
The directory to save the file into, or the full path of the file.
Given a directory, the file is saved under the name the API sends it with. Given a full path, it is saved under the name that path ends in. When not given, the file is saved to the current user’s Downloads directory, under the name the API sends it with.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: The current user's Downloads directory
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
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.