Citrix Virtual Apps and Desktops 2507 SDK

Get-BrokerLogServerAddress

Introduced in: Citrix Virtual Apps and Desktop 7 2507

Gets the high-level description of a centralized log server configuration, based on a configuration byte array.

Syntax

Get-BrokerLogServerAddress
   [-ByteArray] <Byte[]>
   [<CommonParameters>]
<!--NeedCopy-->

Description

Use this command to convert a configuration byte array into a set of named property settings. The byte array will either have been retrieved from the Citrix Broker Service, or from the New-BrokerLogServerAddress cmdlet.

Examples

EXAMPLE 1

This example shows a new configuration byte array being created to specify a log server address. The configuration byte array is then provided as input to the Get-BrokerLogServerAddress command, which interprets and outputs the same fields.

$configuration = New-BrokerLogServerAddress -Enabled $true -Endpoint "logserver.mysite.com:5000"

Get-BrokerLogServerAddress -ByteArray $configuration

Enabled            Endpoint
----               ---
True               logserver.mysite.com:5000
<!--NeedCopy-->

Parameters

-ByteArray

Specifies the low-level byte array (blob) to be interpreted.

Type: Byte[]
Position: 1
Default value: None
Required: True
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

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

Byte[]

The cmdlet accepts the ByteArray parameter as pipeline input.

Outputs

PSObject

This cmdlet outputs an object containing the configuration for the slot. The object has the following properties:

Enabled - Specifies if the log server configuration is enabled or not.

Endpoint - Specifies the fully-qualified domain name and port number of the log server, such as “logserver.mysite.com:5000”.

Get-BrokerLogServerAddress