GetBySessionId method of the PS_RemoteAccessUserActivity class
This cmdlet displays the following
Resources accessed over the active DA and VPN connections
Resources accessed over historical DA and VPN connections
Syntax
uint32 GetBySessionId(
[in] string ComputerName,
[in] uint64 SessionId,
[out] RemoteAccessUserActivity cmdletOutput[]
);
Parameters
-
ComputerName [in]
-
IPv4/IPv6 address or hostname of the computer on which the Remote Access server computer specific tasks should be executed
-
SessionId [in]
-
An identifier for the Session, for which the User Activity data is to be retrieved.
-
cmdletOutput [out]
-
In both real-time and accounting cases the object consists of the following properties. A separate instance of the object is outputted for every corporate network resource that is accessed over the connection
IP address of the server in corporate network
Identity of the protocol using which the server is being accessed
Port no. using which the server is being accessed
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\RemoteAccess |
MOF |
|
DLL |
|