< Back

Import-vRAPackage

Sat Jan 18, 2020 10:01 pm

NAME Import-vRAPackage



SYNOPSIS

Imports a vRA Content Package





SYNTAX

Import-vRAPackage [-File] <String[]> [-DontValidatePackage] [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Imports a vRA Content Package





PARAMETERS

-File <String[]>

The content package file



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



-DontValidatePackage [<SwitchParameter>]

Skip Package Validation. Not recommended by the API documentation



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



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

System.Switch





OUTPUTS

System.Management.Automation.PSObject





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



PS C:\\>Import-vRAPackage -File C:\\Packages\\Package100.zip













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



PS C:\\>Get-ChildItem -Path C:\\Packages\\Package100.zip| Import-vRAPackage -Confirm:$false















RELATED LINKS