New-DSGatewayKDCProxySettings
Synopsis
Create a new KDC proxy settings object for a gateway
Syntax
__AllParameterSets
New-DSGatewayKDCProxySettings [-KDCServerUrl] <string> [-KerberosRealm] <string> [-IsDefault]
[<CommonParameters>]Description
Create a new PSGatewayKDCProxySettings object that can be used to configure KDC proxy settings for gateways.
Examples
Example 1
PS C:\> $kdcSettings = @(
New-DSGatewayKDCProxySettings -KDCServerUrl "tcp://kdc1.example.com" -KerberosRealm "EXAMPLE.COM" -IsDefault
New-DSGatewayKDCProxySettings -KDCServerUrl "udp://kdc2.contoso.com" -KerberosRealm "CONTOSO.COM"
)
PS C:\> New-DSGateway -Name "Corporate Gateway" -DevolutionsGatewayUrl "https://gateway.example.com" -TCPListeningPort 7171 -KdcProxySettings $kdcSettingsCreate multiple KDC proxy settings for different Kerberos realms and configure a gateway with them. The EXAMPLE.COM realm is marked as default.
Example 2
Get existing KDC proxy settings from a gateway, add a new setting for an additional Kerberos realm, and update the gateway.
Parameters
-IsDefault
Set this KDC proxy configuration as the default.
-KDCServerUrl
KDC server URL. Must start with tcp:// or udp://.
-KerberosRealm
Kerberos realm name (e.g., EXAMPLE.COM). This realm should be unique within a gateway's settings.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
RemoteDesktopManager.PowerShellModule.Private.models.PSGatewayKDCProxySettings
Notes
For more information, type "Get-Help New-DSGatewayKDCProxySettings -detailed". For technical information, type "Get-Help New-DSGatewayKDCProxySettings -full".
Last updated
Was this helpful?