# Set-RASSessionSetting

## NAME

Set-RASSessionSetting

## SYNOPSIS

Modifies Parallels RAS session connection settings.

## SYNTAX

**Set-RASSessionSetting** \[-[CachedSessionTimeout](#CachedSessionTimeout) _\<uint>_] \[-[FIPSMode](#FIPSMode) {Disabled | Allowed | Enforced}] \[-[LogoffIdleSessionTimeout](#LogoffIdleSessionTimeout) _\<uint>_] \[-[RemoteIdleSessionTimeout](#RemoteIdleSessionTimeout) _\<uint>_] \[-[ReplicateSettings](#ReplicateSettings) _\<bool>_] \[-[SiteId](#SiteId) _\<uint>_] \[_<_[_CommonParameters_](#CommonParameters)_>_]

## DESCRIPTION

Modifies Parallels RAS session connection settings.

## PARAMETERS

-**RemoteIdleSessionTimeout \<uint>**\
Set the session idle timeout (in seconds).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**SiteId \<uint>**\
The site ID to which the RAS session settings refer.

```
        Required?                    false

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**LogoffIdleSessionTimeout \<uint>**\
Set the client logoff timeout (in seconds).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**CachedSessionTimeout \<uint>**\
Set the cached session timeout (in seconds).

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**FIPSMode <**[**FIPSModeSett**](../classes-and-enumerations/fipsmodesett)**>**\
FIPS 140-2 encryption mode.

Possible values: Disabled, Allowed, Enforced

```
        Required?                    false

        Position?                    named

        Default value                

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

-**ReplicateSettings \<bool>**\
Whether to replicate settings to other sites.

```
        Required?                    false

        Position?                    named

        Default value                

        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

[RASSessionSetting](../classes-and-enumerations/rassessionsetting)

## EXAMPLES

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

Set-RASSessionSetting -RDPSessionIdleTimeout 60

Modifies RDPSessionIdleTimout to one minute. After a user logs out, the session will continue to exist for one minute.

## RELATED LINKS

* [Get-RASSessionSetting](get-rassessionsetting)
* [Invoke-RASClearSessionsIDCache](invoke-rasclearsessionsidcache)
