Invoke-RASAdminSessionCmd
NAME
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.
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> 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
Last updated