Citrix Daas SDK

New-BrokerXmlServiceKey

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

Syntax

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

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
<!--NeedCopy-->

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

String

New-BrokerXmlServiceKey