< Back

Get-HB-SiteID

Tue Jan 14, 2020 1:33 am

NAME Get-HB-SiteID



SYNOPSIS

Get the Primary Key value of a Site





SYNTAX

Get-HB-SiteID [-SiteName] <String> [<CommonParameters>]





DESCRIPTION

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

Primary Key





PARAMETERS

-SiteName <String>

The Site 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-SiteID "Hull" will search your sites and return the primary key for the "Hull" site















RELATED LINKS