CmdID / PowerShell / Cmdlets / Set
Set-RDDeploymentGatewayConfiguration
Specifies settings for the RD Gateway server for a Remote Desktop deployment. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-BypassLocalIndicates whether authorized remote users bypass the RD Gateway server for local connections.-ConnectionBrokerSpecifies the Remote Desktop Connection Broker (RD Connection Broker) server for this Remote Desktop deployment.-ForceForces the command to run without asking for user confirmation.-GatewayExternalFqdnSpecifies the external FQDN of the RD Gateway server for this Remote Desktop deployment.-GatewayModeSpecifies a value that indicates whether or not authorized remote users use the RD Gateway server and, if so, whether they detect existing RD Gateway settings automatically or enter settings manually.-LogonMethodSpecifies the method for authenticating user access to the RD Gateway server.-UseCachedCredentialsIndicates whether or not remote users can use RD Gateway access credentials to authenticate access to the remote computer.