Export-vROResourceElement
SYNOPSIS
Exports a resource element by its ID.
SYNTAX
Export-vROResourceElement [-Id] <String> [[-Path] <String>] [[-Encoding] <String>] [<CommonParameters>]
DESCRIPTION
Exports a resource element by its ID.
EXAMPLES
EXAMPLE 1
Get-vROResourceElement -Id 92768e86-d7bc-400d-bb6d-11e6e10eb133 | Export-vROResourceElement -Path C:\Resources
EXAMPLE 2
Export-vROResourceElement -Id 92768e86-d7bc-400d-bb6d-11e6e10eb133
EXAMPLE 3
Export-vROResourceElement -Id 92768e86-d7bc-400d-bb6d-11e6e10eb133 -Encoding Ascii
PARAMETERS
-Id
The id of the resource element
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Path
The path of the exported file. If this parameter is not passed, the resource element will be exported to the current working directory.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Encoding
Encoding of the output file Windows PS Default = UTF8 PS Core Default = UTF8NoBOM
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
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.