< Back

Get-HB-ServiceID

Tue Jan 14, 2020 1:33 am

NAME Get-HB-ServiceID



SYNOPSIS

Get the Primary Key value of a Service





SYNTAX

Get-HB-ServiceID [-ServiceName] <String> [<CommonParameters>]





DESCRIPTION

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

Primary Key





PARAMETERS

-ServiceName <String>

The Service Name to search for



Required? true

Position? 1

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-ServiceID "Desktop Support" will search your services and return the primary key for the default

language record



of the service "Desktop Support"











RELATED LINKS