< Back

Get-HB-CatalogID

Tue Jan 14, 2020 1:31 am

NAME Get-HB-CatalogID



SYNOPSIS

Get the Primary Key value of a Catalog Item





SYNTAX

Get-HB-CatalogID [-CatalogItem] <String> [-ServiceName] <String> [-RequestType] <String> [<CommonParameters>]





DESCRIPTION

Provide a Catalog Item Name, and this CMDLET will search your Hornbill instance for a matching record, returning

the Primary Key





PARAMETERS

-CatalogItem <String>

The Catalog Item Name to search for



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServiceName <String>

The Service that the Catalog Item belogs to



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-RequestType <String>

The Request Type that the Catalog Item is configured for



Required? true

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<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



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-HB-CatalogID "Support Me" "Desktop Support" "Incident" will search your services and return the primary

key of



the Catalog Item "Support Me", within the "Desktop Support" Service ans request type "Incident"











RELATED LINKS