# Get-RASTunnelingPolicy

## NAME

Get-RASTunnelingPolicy

## SYNOPSIS

Retrieves the tunneling policy.

## SYNTAX

**Get-RASTunnelingPolicy** \[[Id](#id-string)]\*\*_(uint)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

**Get-RASTunnelingPolicy** \[\[-[IP](#ip-string)]\*\*_(string)_] \[[SiteId](#siteid-string)_(uint)_]\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Retrieves the tunneling policy.

## PARAMETERS

## SiteId (uint)

The ID of the Site from which to retrieve the tunneling policy\
information.

If the parameter is omitted, the Licensing Server Site ID will be\
used.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## IP (string)

The gateway IP of a tunneling policy from which to retrieve the\
information.

```
        Required?                    false

        Position?                    0

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Id (uint)

The ID of a tunneling policy from which to retrieve the information.

```
        Required?                    true

        Position?                    0

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

(CommonParameters)

```
        This cmdlet supports the common parameters: Verbose, Debug,

        ErrorAction, ErrorVariable, WarningAction, WarningVariable,

        OutBuffer, PipelineVariable, and OutVariable. For more information, see 

        about_CommonParameters documentation. 
```

## INPUTS

-none-

## OUTPUTS

[TunnelingPolicy](../types/tunnelingpolicy)

## EXAMPLES

\*\*---------- EXAMPLE 1 ----------

Get-RASTunnelingPolicy

Retrieves the list of tunneling policies.\
\*\*---------- EXAMPLE 2 ----------

Get-RASTunnelingPolicy -IP "1.2.3.4"

Retrieves the tunneling policy with IP 1.2.3.4.\
\*\*---------- EXAMPLE 3 ----------

Get-RASTunnelingPolicy -Id 1

Retrieves the tunneling policy with Id 1.

## RELATED LINKS

* New-RASTunnengPolicy
* [Set-RASTunnelingPolicy](set-rastunnelingpolicy)
* [Remove-RASTunnelingPolicy](remove-rastunnelingpolicy)
