New-DSGatewayKDCProxySettings
Sinossi
Creare un nuovo oggetto di impostazioni del proxy KDC per un gateway
Sintassi
__AllParameterSets
New-DSGatewayKDCProxySettings [-KDCServerUrl] <string> [-KerberosRealm] <string> [-IsDefault]
[<CommonParameters>]Descrizione
Creare un nuovo oggetto PSGatewayKDCProxySettings utilizzabile per configurare le impostazioni del proxy KDC dei gateway.
Esempi
Esempio 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 $kdcSettingsCreare più impostazioni del proxy KDC per realm Kerberos diversi e configurare un gateway con esse. Il realm EXAMPLE.COM è contrassegnato come predefinito.
Esempio 2
Ottenere le impostazioni del proxy KDC esistenti da un gateway, aggiungere un'impostazione per un realm Kerberos aggiuntivo e aggiornare il gateway.
Parametri
-IsDefault
Impostare questa configurazione del proxy KDC come predefinita.
-KDCServerUrl
URL del server KDC. Deve iniziare con tcp:// o udp://.
-KerberosRealm
Nome del realm Kerberos (ad es. EXAMPLE.COM). Questo realm deve essere univoco nelle impostazioni di un gateway.
CommonParameters
Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction e -WarningVariable. Per maggiori informazioni, veda about_CommonParameters.
Output
RemoteDesktopManager.PowerShellModule.Private.models.PSGatewayKDCProxySettings
Note
Per maggiori informazioni, digiti "Get-Help New-DSGatewayKDCProxySettings -detailed". Per informazioni tecniche, digiti "Get-Help New-DSGatewayKDCProxySettings -full".
Ultimo aggiornamento
È stato utile?