< Back

Export-vRAPackage

Sat Jan 18, 2020 9:55 pm

NAME Export-vRAPackage



SYNOPSIS

Export a vRA Package





SYNTAX

Export-vRAPackage -Id <String[]> [-Path <String>] [<CommonParameters>]



Export-vRAPackage -Name <String[]> [-Path <String>] [<CommonParameters>]





DESCRIPTION

Export a vRA Package





PARAMETERS

-Id <String[]>

Specify the ID of a Package



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Name <String[]>

Specify the Name of a Package



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Path <String>

The resulting path. If this parameter is not passed the action will be exported to

the current working directory.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String





OUTPUTS

System.IO.FileInfo





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Export-vRAPackage -Id "b2d72c5d-775b-400c-8d79-b2483e321bae" -Path C:\\Packages\\Package01.zip













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Export-vRAPackage -Name "Package01" -Path C:\\Packages\\Package01.zip













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Get-vRAPackage | Export-vRAPackage













-------------------------- EXAMPLE 4 --------------------------



PS C:\\>Get-vRAPackage -Name "Package01" | Export-vRAPackage -Path C:\\Packages\\Package01.zip















RELATED LINKS