Retrieve OVA OVF config objects using Get-OvfConfiguration

Use below scripts to extract ova/ovf config


 $VIServer = "Vcenterserver1.local.com"

$VIUsername = "administrator@vsphere.local"

$VIPassword = "Password1"

$viConnection = Connect-VIServer $VIServer -User $VIUsername -Password $VIPassword

$ovfPath ="C:\Users\Administrator\Downloads\Test-1-vcenter.ova"

$ovfconfig = Get-OvfConfiguration -Server $viConnection $ovfPath

$ovfconfigHashTable = $ovfconfig.ToHashTable()

No comments:

Post a Comment

How to increase ESXi webclient login user application timeout

 To increase the default 15min timeout to 2hr Login to the esxi webclient on the right top corner ->Click the User login tab Select "...