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