Citrix Daas SDK

Test-BrokerLicenseServer

Tests whether or not a license server can be used by the broker.

Syntax

Test-BrokerLicenseServer
    [-ComputerName] <String>
    [[-Port] <Int32>]
    [<CitrixCommonParameters>]
    [<CommonParameters>]
<!--NeedCopy-->

Description

Tests whether or not a given license server can be used by the broker.

Examples

EXAMPLE 1

Tests whether or not the license server “machine.domain” with port number 1234 can be used.

Test-BrokerLicenseServer -LicenseServerAddress "machine.domain" 1234
<!--NeedCopy-->

EXAMPLE 2

Tests whether or not the license server “machine.domain” with port number 2700 can be used.

Test-BrokerLicenseServer -LicenseServerAddress "machine.domain"
<!--NeedCopy-->

Parameters

-ComputerName

The name of the license server to test (machine.domain).

Type: String
Position: 2
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-Port

The port number to use on the server.

Type: Int32
Position: 3
Default value: 27000
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -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 cannot pipe input into this cmdlet.

Outputs

String

Test-BrokerLicenseServer returns:

  • ‘Compatible’ - the server is a compatible license server that can be used.
  • ‘Incompatible’ - the server is an incompatible license server that can’t be used.
  • ‘Inaccessible’ - the server cannot be accessed. The server may be down, unreachable,

    or non-existent.

  • ‘InternalError - the server can’t be used due to an internal error. A required licensing

    component on the server may not be installed, configured, or working correctly.

Test-BrokerLicenseServer