Upload ISO to Content Library with PowerCLI and REST API

At work, there was a requirement to upload an ISO to the vSphere Content Library in an automated fashion (no GUI).

With PowerCLI 11, New-ContentLibrary commandlet seemed to do the job and creates and uploads the ISO file.

However, it creates and uploads the file as type: ‘file’

Continue Reading