GetByAccountingStatistics 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 GetByAccountingStatistics(
[in] datetime StartDateTime,
[in] datetime EndDateTime,
[in] string ComputerName,
[out] RemoteAccessAccountingSummary cmdletOutput
);
Parameters
-
StartDateTime [in]
-
This parameter is used to specify the time duration for which the statistics summary of historical connections is to be retrieved and indicates the start date. If a date is not specified then the time stamp of the first record in the accounting database is used by default
-
EndDateTime [in]
-
This parameter is used to specify the time duration for which the statistics summary of historical connections is to be retrieved and indicates the end date. If a date is not specified then the time stamp of the last record in the accounting database is used by default
-
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 |
|
DLL |
|