VMware Cloud Community
PoojaDell
Contributor
Contributor

Deploy ovf from url using command line

I would like to know command line option of deploying ovf from url.

Does Import-VApp supports url as source?

0 Kudos
3 Replies
RvdNieuwendijk
Leadership
Leadership

The Import-VApp cmdlet only allows you to install a vApp from a path to a file on your computer or network. You can use the Invoke-WebRequest cmdlet to download the ovf from a url first.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos
PoojaDell
Contributor
Contributor

 

Thanks for your reply.

Is there any other cmdlet available which allows to deploy from url directly?  Downloading the ovf is taking more than 3 hours and hence we want to avoid that step.

 

 

0 Kudos
RvdNieuwendijk
Leadership
Leadership

There is no other PowerCLI cmdlet to install ovf files than Import-VApp. Even if there was, the cmdlet would have to download the ovf it self, which would not be faster than downloading it in advance.

Blog: https://rvdnieuwendijk.com/ | Twitter: @rvdnieuwendijk | Author of: https://www.packtpub.com/virtualization-and-cloud/learning-powercli-second-edition
0 Kudos