Invoke-RASAdminSessionCmd
Sends RAS Admin session commands.
Invoke-RASAdminSessionCmd -Command {LogOff} -SessionId <uint> [<CommonParameters>]
Sends session commands such as Logoff. It will not fail unless Session Id is invalid or command does not reach the destination.
-SessionId <uint> Session ID of the Admin to be Disconnected.
-Command <RASAdminSessionProcessCmd> Process command. Accepted values: LogOff. Possible values: LogOff
<CommonParameters>
-none-
-none-
---------- 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.