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>]
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
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
\[\]
The cmdlet accepts the ByteArray parameter as pipeline input.
Outputs
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".