< Back
Get-ContentLibraryItem
Post
NAME Get-ContentLibraryItem
SYNOPSIS
This cmdlet retrieves catalog items from the content library.
SYNTAX
Get-ContentLibraryItem [[-Name] <String[]>] [-ContentLibrary <ContentLibrary[]>] [-ItemType <String[]>] [-Server
<VIServer[]>] [<CommonParameters>]
Get-ContentLibraryItem -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet retrieves catalog items from the content library and returns a set of catalog items that correspond to
the filter criteria defined by the cmdlet parameters.
PARAMETERS
-ContentLibrary <ContentLibrary[]>
Filters items by ContentLibrary.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Id <String[]>
Specifies the IDs of the catalog items you want to retrieve.
Note: When a list of values is specified for the Id parameter, the returned objects have an ID that matches
exactly one of the string values in that list.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ItemType <String[]>
Filters the catalog items by type.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-Name <String[]>
Specifies the names of the catalog items you want to retrieve.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
Zero or more ContentLibraryItem objects
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-ContentLibraryItem -Type "OVF" -Name "Windows*"
Retrieves content library templates of the specified type that match the specified name.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... yItem.html
SYNOPSIS
This cmdlet retrieves catalog items from the content library.
SYNTAX
Get-ContentLibraryItem [[-Name] <String[]>] [-ContentLibrary <ContentLibrary[]>] [-ItemType <String[]>] [-Server
<VIServer[]>] [<CommonParameters>]
Get-ContentLibraryItem -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet retrieves catalog items from the content library and returns a set of catalog items that correspond to
the filter criteria defined by the cmdlet parameters.
PARAMETERS
-ContentLibrary <ContentLibrary[]>
Filters items by ContentLibrary.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Id <String[]>
Specifies the IDs of the catalog items you want to retrieve.
Note: When a list of values is specified for the Id parameter, the returned objects have an ID that matches
exactly one of the string values in that list.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ItemType <String[]>
Filters the catalog items by type.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-Name <String[]>
Specifies the names of the catalog items you want to retrieve.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-Server <VIServer[]>
Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
Zero or more ContentLibraryItem objects
NOTES
-------------------------- Example 1 --------------------------
PS C:\\> Get-ContentLibraryItem -Type "OVF" -Name "Windows*"
Retrieves content library templates of the specified type that match the specified name.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... yItem.html