Remove-ContentLibrary

This cmdlet removes the specified content libraries.

Syntax

-ContentLibrary  <ContentLibrary[]>
[-Server  <VIServer[]>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
ContentLibrary
ContentLibrary[] named
  • wildcards
  • pipeline
  • Specifies the content libraries you want to remove.
    optional
    Server
    VIServer[] named Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet.

    Output

    Examples


    Example 1

    PS C:\> $libraries = Get-ContentLibrary -Name '*obsolete'
    PS C:\> Remove-ContentLibrary $libraries

    Removes all content libraries whose names end in 'obsolete' from the default connected servers.

    Related Commands

    Feedback

    Was this page helpful?