Partager via


GetByActiveStatistics method of the PS_RemoteAccessConnectionStatisticsSummary class

This cmdlet displays the following1. Summary statistics of current (real-time) active DirectAccess and VPN connections2. Summary statistics of DirectAccess and VPN historical connections for a specified time duration.

Syntax

uint32 GetByActiveStatistics(
  [in]  string                        ComputerName,
  [out] RemoteAccessMonitoringSummary cmdletOutput
);

Parameters

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed. When a ComputerName is specified the statistics summary on that Remote Access server is retrieved

cmdletOutput [out]

Based on the input specified this cmdlet displays the summary of the current (real-time) connection statistics or summary of the accounting statistics for the specified time duration

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_RemoteAccessConnectionStatisticsSummary