VMware Cloud Community
denjoh44
Enthusiast
Enthusiast
Jump to solution

Powershell, how deploy ovf

Which commands powershell powercli, I have to use to realize a deploy of ovf?

Thank you for indicating me an example

thanks

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

The Import-VApp cmdlet states that for the Source parameter you can supply an OVF or an OVA file.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
6 Replies
LucD
Leadership
Leadership
Jump to solution

You should use the Import-VApp cmdlet.

There is a good example in Alan's PowerShell automated install of vShield 5 post.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
denjoh44
Enthusiast
Enthusiast
Jump to solution

can you say to me why the file is specified .ova  and not the file .ovf

$vshieldOVA = "Y:\VMware\vShield\VMware-vShield-Manager-5.0.0-473791.ova"

$va = Import-VApp -Name $vShieldHostName -Datastore $vShieldDS -VMHost (Get-Cluster $vShieldCluster | Get-VMHost | Select -First 1) -Source $vshieldOVA

thanks

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

The difference/similarity between OVF and OVA is best explained in Jason's post called OVF? OVA? WTF?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
denjoh44
Enthusiast
Enthusiast
Jump to solution

can you say if the command with ova is ok with ovf?

$vshieldOVF = "Y:\VMware\vShield\VMware-vShield-Manager-5.0.0-473791.ovf"

$va = Import-VApp -Name $vShieldHostName -Datastore $vShieldDS -VMHost (Get-Cluster $vShieldCluster | Get-VMHost | Select -First 1) -Source $vshieldOVF

I ask you this question because we supply me file ovf

thanks

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

The Import-VApp cmdlet states that for the Source parameter you can supply an OVF or an OVA file.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
denjoh44
Enthusiast
Enthusiast
Jump to solution

Thank you for your reponse

Reply
0 Kudos