With PowerCLI, you can create content library items. Prerequisites Verify that you are connected to a vCenter Server system. Procedure Get the files that you want to upload to the content library. $files = Get-ChildItem -File Get the content library that you want to upload. $contentLibrary = Get-ContentLibrary -name 'MyContentLibrary' Create a content library item. New-ContentLibraryItem -ContentLibrary $contentLibrary -name 'New item' -Files $files Parent topic: Using Content Libraries
With PowerCLI, you can create content library items. Prerequisites Verify that you are connected to a vCenter Server system. Procedure Get the files that you want to upload to the content library. $files = Get-ChildItem -File Get the content library that you want to upload. $contentLibrary = Get-ContentLibrary -name 'MyContentLibrary' Create a content library item. New-ContentLibraryItem -ContentLibrary $contentLibrary -name 'New item' -Files $files Parent topic: Using Content Libraries