# Invoke-RASAdminSessionCmd

## NAME

Invoke-RASAdminSessionCmd

## SYNOPSIS

Sends RAS Admin session commands.

## SYNTAX

**Invoke-RASAdminSessionCmd**\
-[Command](#Command) {LogOff}\
-[SessionId](#sessionid-string) _(uint)_\
\[_(_[_CommonParameters_](#CommonParameters)_)_]

## DESCRIPTION

Sends session commands such as Logoff.

It will not fail unless Session Id is invalid or command does not reach\
the destination.

## PARAMETERS

## SessionId (uint)

Session ID of the Admin to be Disconnected.

```
        Required?                    true

        Position?                    named

        Default value                0

        Accept pipeline input?       false

        Accept wildcard characters?  false
```

## Command

([RASAdminSessionProcessCmd](../types/rasadminsessionprocesscmd))\
Process command.

Accepted values: LogOff.

Possible values: LogOff

```
        Required?                    true

        Position?                    named

        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

-none-

## EXAMPLES

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

Invoke-RASAdminSessionCmd -SessionId 42311235 -Command LogOff

Invoke the RAS Admin Session to send the LogOff command for the Admin\
with specified Session Id.

## RELATED LINKS

* [Get-RASAdminSession](get-rasadminsession)
