New-RASTunnelingPolicy

NAME

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.

PARAMETERS

SiteId (uint)

Site ID of the new tunneling policy.

IP (string)

The gateway IP of the tunneling policy.

PublishType

(RDSessionHostsType) The setting that determines which hosts are affected by the tunneling policy. Default: AllRDSessionHostsInSite.

Possible values: AllRDSessionHostsInSite, RDSessionHostPool, RDSessionHosts, None

RDSHostPoolIds (uint[])

The IDs of the selected RD session host pools.

RDSHostIds (uint[])

The IDs of the selected individual RD session hosts.

(CommonParameters)

INPUTS

-none-

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ----------

New-RASTunnelingPolicy -IP 1.2.3.4 -PublishType None

Creates a tunneling policy.

Last updated