Citrix Virtual Apps and Desktops SDK

New-BrokerXmlServiceKey

Generate a new 256 bit, base64 encoded, XML Service Key

Syntax


New-BrokerXmlServiceKey [-AdminClientIP <String>] [-AdminAddress <String>] [-BearerToken <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [<CommonParameters>]

<!--NeedCopy-->

Detailed Description

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

Parameters

Name Description Required? Pipeline Input Default Value
AdminClientIP Internal use only. false false  
AdminAddress Specifies the address of a XenDesktop controller that the PowerShell snapin will connect to. This can be provided as a host name or an IP address. false false Localhost. Once a value is provided by any cmdlet, this value will become the default.
BearerToken Specifies the bearer token assigned to the calling user false false  
TraceParent Specifies the trace parent assigned for internal diagnostic tracing use false false  
TraceState Specifies the trace state assigned for internal diagnostic tracing use false false  
VirtualSiteId Specifies the virtual site the PowerShell snap-in will connect to. false false  

Input Type

None

Return Values

String

Examples

Example 1


C:\PS> $xmlServiceKey1 = New-BrokerXmlServiceKey

          C:\PS> Set-BrokerSite -XmlServiceKey1 $xmlServiceKey1

<!--NeedCopy-->

Description

Sets XmlServiceKey1 in the Site settings

New-BrokerXmlServiceKey