Citrix Virtual Apps and Desktops SDK

Get-MonitorLogServerConfiguration

Introduced in: Citrix Virtual Apps and Desktop 7 2511

Get log server configuration detail from Monitor DB.

Syntax

Get-MonitorLogServerConfiguration
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

Get log server configuration detail from Monitor DB. This setting can be used to get log server configuration.

Examples

EXAMPLE 1

Get log server configuration detail.

Get-MonitorLogServerConfiguration
LogServerApiKey LogServerName             LogServerPort LogServerResourceLocationId
-------------- -------------             ------------- ---------------------------
*              https://logserver.example.com 443          12345678-90ab-cdef-1234-567890abcdef
<!--NeedCopy-->

EXAMPLE 2

Get log server configuration detail and display in a list format.

Get-MonitorLogServerConfiguration | Format-List
LogServerName               : https://logserver.example.com
LogServerPort               : 443
LogServerResourceLocationId : 12345678-90ab-cdef-1234-567890abcdef
LogServerApiKey             : *
<!--NeedCopy-->

Parameters

-LoggingId

Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -SkipCertificateValidation, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

PSObject

Returns the log server configuration details (LogServerName, LogServerPort, LogServerResourceLocationId, LogServerApiKey).

Get-MonitorLogServerConfiguration