次の方法で共有


GetByHostIP method of the PS_RemoteAccessUserActivity class

This cmdlet displays the following1. Resources accessed over the active DA and VPN connections2. Resources accessed over historical DA and VPN connections

Syntax

uint32 GetByHostIP(
  [in]  string                   HostIPAddress,
  [in]  string                   ComputerName,
  [in]  datetime                 EndDateTime,
  [in]  datetime                 StartDateTime,
  [out] RemoteAccessUserActivity cmdletOutput[]
);

Parameters

HostIPAddress [in]

Tunnel IP address of the connection. This can be IPv4 or IPv6 address

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed

EndDateTime [in]

This parameter is used to specify the time duration for which the user activity needs to be retrieved and indicates the end date. It is specified in the format MM/DD/YYYY Hour:Min:Sec [AM/PM].

StartDateTime [in]

This parameter is used to specify the time duration for which the user activity needs to be retrieved and indicates the start date. It is specified in the format MM/DD/YYYY Hour:Min:Sec [AM/PM].

cmdletOutput [out]

On return, contains a RemoteAccessUserActivity object.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_RemoteAccessUserActivity