New-BrokerXmlServiceKey

Last published : Oct 31, 2026
Introduced in: Citrix Virtual Apps and Desktop 7 2006
Generate a new 256 bit, base64 encoded, XML Service Key

Syntax

New-BrokerXmlServiceKey
   [<CitrixCommonParameters>]
   [<CommonParameters>]

Description

To be used with the Set-BrokerSite Cmdlet to set the two XmlServiceKey properties.

Examples

EXAMPLE 1

Sets XmlServiceKey1 in the Site settings
$xmlServiceKey1 = New-BrokerXmlServiceKey
Set-BrokerSite -XmlServiceKey1 $xmlServiceKey1

Parameters

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 can't pipe objects to this cmdlet.

Outputs