powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-Catalog



NAME
Get-Catalog

SYNOPSIS
Retrieves the specified cloud catalogs.

SYNTAX
Get-Catalog [[-Name] ] [-Org ] [-MyOrgOnly] [-Server ] []

Get-Catalog -Id [-Server ] []


DESCRIPTION
Retrieves cloud catalogs.


PARAMETERS
-Name
Specify the names of the cloud catalogs you want to retrieve.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Org
Specify the organizations from which you want to retrieve catalogs.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-MyOrgOnly
Indicate that you want to retrieve catalogs only from the organization which is currently connected.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Server
Specify the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the comm
and runs on the default servers. For more information about default servers, see the description of Connect-CIS
erver.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Id
Specify the Ids of the cloud catalogs you want to retrieve.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
Catalog


NOTES




-------------- Example 1 --------------

C:\PS>Get-Catalog


Gets all visible catalogs for the current user.





-------------- Example 2 --------------

C:\PS>Get-Catalog -Name "MyCatalog1"


Gets an existing catalog named "MyCatalog".





-------------- Example 3 --------------

C:\PS>Get-Catalog -ID $catalogId


Gets a catalog with a given ID.





-------------- Example 4 --------------

C:\PS>Get-Org -Name "Organization1" | Get-Catalog


Gets all visible catalogs for an organization.





-------------- Example 5 --------------

C:\PS>Connect-CIServer $ip -Name $nonSysAdminUser -Pass $pass
Get-Catalog -MyOrgOnly


Gets all catalogs from my organization.

Note: You do not need to be logged in as Administrator.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-Catalog.html