PowerCLI: Upload to Content Library using PowerCLI
Summary: Basically was looking to upload an iso or ovf from my system not using the web client to content library. Couldn't find an example to upload from my local system only to have vCenter pull it from somewhere. Details: So I took VMware's example and added "PUSH" functionality to upload from my local system to the content library. Learned some interesting things in the process. Mainly related to OVF uploads. The content library service, or possibly something else, parses the OVF looking for the related files. Then the Content Library is instructed to essentially wait for those other files to be uploaded before it closes the upload task. Kinda interesting. Anyway, the script is powershell core based, so compatible across all platforms. Links: Pull Request My forked code Original Code