Managing Content Libraries

In this section, we will discuss how we can utilize the vCloud Suite SDK and combine it with the vCenter Server APIs to manage a content library in vCenter Server. To do this, first we need to import the module VMware.VimAutomation.Cis.Core. We can check the cmdlets available with this module by running the following command:

PS C:\> Get-Command -Module VMware.VimAutomation.Cis.Core | Select Name

Name                
----                
Connect-CisServer   
Disconnect-CisServer
Get-CisService

So let's first connect to the vCloud Suite SDK server:

Managing Content Libraries

To get a list of all the services available and their description, run the cmdlet Get-CisService:

$Library ...

Get Mastering PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.