Create a Local Content Library

With PowerCLI, you can create a local content library.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Get the datastore that you want to use to store files for library items in this library.
    $datastore = Get-Datastore myDatastore
  2. Create the My Local Content Library published local content library that uses the myDatastore datastore.
    New-ContentLibrary -Name 'My Local Content Library' -Description 'Local content library description.' -Datastore $Datastore1 -Published