New-RASTunnelingPolicy
SYNOPSIS
Creates a tunneling policy.
SYNTAX
New-RASTunnelingPolicy -IP <string>
[-PublishType {AllRDSessionHostsInSite | RDSessionHostPool | RDSessionHosts | None}]
[-RDSHostIds <uint[]>] [-RDSHostPoolIds <uint[]>] [-SiteId <uint>] [<CommonParameters>]DESCRIPTION
Creates a tunneling policy.
EXAMPLES
Example 1
New-RASTunnelingPolicy -IP 1.2.3.4 -PublishType NoneCreates a tunneling policy.
PARAMETERS
-SiteId
Site ID of the new tunneling policy.
-IP
The gateway IP of the tunneling policy.
-PublishType
The setting that determines which hosts are affected by the tunneling policy. Default: AllRDSessionHostsInSite.
Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None
Type reference: RDSessionHostsType
-RDSHostPoolIds
The IDs of the selected RD session host pools.
-RDSHostIds
The IDs of the selected individual RD session hosts.
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
OUTPUTS
None
RELATED LINKS
Last updated