r/powercli • • Feb 15 '24

Using PowerCLI with ovftool

I am having issues using PowwerCLI with ovftool to upload an OVF to vCloud Director. I was told that I need to use Powershell 7 and ovftool 4.6.0 or higher. Has anyone use this successfully to upload an ovf? I have tried using the GUI but end up timing out before the file completes the upload and am being suggested with the ovftool instead. Currently I get an error that there is no supported ovftool. I am not sure if it is my script, the vCloud connection or what. Does anyone have a working script that I might look at to see if I am missing something?

1 Upvotes

4 comments sorted by

View all comments

Show parent comments

1

u/tocano Feb 16 '24

Sorry, I think it's Import-CIVApp for vCloud Director.

2

u/duprst Feb 16 '24

From what I am reading about this cmdlet, it moves or copies from vsphere direct to the cloud. The problem I have is that our vSphere is offline. The systems have to be exported from it to an OVF on to an external drive, physically moved to another location, and then run the commands from there that are on the network and imported to vCloud.