Set-XDLogServer

Last published : Oct 31, 2026
Introduced in: Citrix Virtual Apps and Desktop 7 2507
Set the site's centralized log configuration.

Syntax

Set-XDLogServer
   [-Enabled <Boolean>]
   [-Endpoint <String>]
   [-DesktopGroups <String[]>]
   [-ExcludedDesktopGroups <String[]>]
   [-LogServerApiKey <String>]
   [-LogServerResourceLocationId <Guid>]
   [-AdminAddress <String>]
   [<CommonParameters>]

Description

Set the site's centralized log configuration.

Examples

EXAMPLE 1

Set-XDLogServer -Enable $True -Endpoint fqdn:5000

EXAMPLE 2

Set-XDLogServer -DesktopGroups DesktopGroup1,DesktopGroup2

EXAMPLE 3

Set-XDLogServer -DesktopGroups *

EXAMPLE 4

Set-XDLogServer -ExcludedDesktopGroups DesktopGroup1,DesktopGroup2

EXAMPLE 5

Set-XDLogServer -Enable $True -Endpoint fqdn:8080 -DesktopGroups * -ExcludedDesktopGroups DesktopGroup1,DesktopGroup2

Parameters

-Enabled

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

-Endpoint

Specifies the fully-qualified domain name and port number of the log server, such as "logserver.mysite.com:5000".
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-DesktopGroups

Type: String[]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-ExcludedDesktopGroups

Type: String[]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-LogServerApiKey

FIXME
Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Introduced in: Citrix Virtual Apps and Desktop 7 2511

-LogServerResourceLocationId

FIXME
Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Introduced in: Citrix Virtual Apps and Desktop 7 2511

-AdminAddress

Specifies the address of the Delivery Controller to which the PowerShell module will connect. This can be provided as a host name or an IP address.
Type: String
Position: Named
Default value: Localhost. Once a value is provided by any cmdlet, this value will become the default.
Required: False
Accept pipeline input: False
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

None

You can't pipe objects to this cmdlet.

Outputs

None

By default, this cmdlet returns no output.