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

Selenium firefox driver session fails with : Could not start a new session. Response code 500. Message: Expected browser binary location, but unable to find binary in default location,

 Error: With Firefox driver /gecko driver Could not start a new session. Response code 500. Message: Expected browser binary location, but u...