Invoke-RASAdminSessionCmd
SYNOPSIS
Sends RAS Admin session commands.
SYNTAX
Invoke-RASAdminSessionCmd -Command {LogOff} -SessionId <uint> [<CommonParameters>]DESCRIPTION
Sends session commands such as Logoff.
It will not fail unless Session Id is invalid or command does not reach the destination.
EXAMPLES
Example 1
Invoke-RASAdminSessionCmd -SessionId 42311235 -Command LogOffInvoke the RAS Admin Session to send the LogOff command for the Admin with specified Session Id.
PARAMETERS
-SessionId
Session ID of the Admin to be Disconnected.
-Command
Process command.
Accepted values: LogOff.
Possible values: LogOff
Type reference: RASAdminSessionProcessCmd
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
None
RELATED LINKS
Last updated