Skip to content

Commit c59df6c

Browse files
authored
Merge pull request #1018 from sowjanya365/patch-7
Update get-remoteaccessconnectionstatistics.md
2 parents e7f5ae9 + 0577bfc commit c59df6c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docset/windows/remoteaccess/get-remoteaccessconnectionstatistics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Get-RemoteAccessConnectionStatistics [-ComputerName <String>] [[-StartDateTime]
3939
```
4040

4141
## DESCRIPTION
42-
The **Get-RemoteAccessConnectionStatistics** cmdlet displays the statistics of the real-time, currently active DirectAccess (DA) and VPN connections and the statistics of DA and VPN historical connections for a specified time duration
42+
The **Get-RemoteAccessConnectionStatistics** cmdlet displays the statistics of the real-time, currently active DirectAccess (DA) and VPN connections and the statistics of DA and VPN historical connections for a specified time duration.
4343

4444
The statistics for active and historical connections starting or ending on a Remote Access (RA) server are stored in the inbox accounting store on that server.
4545
This cmdlet retrieves statistics for a specific server.
@@ -64,11 +64,8 @@ ConnectionDuration(s) : 220
6464
ConnectionType : Vpn
6565
AccessStatus : User Mode/Full Corp Access
6666
67-
6867
PS C:\>Disconnect-VpnUser -HostIPAddress 10.1.1.11 -PassThru10.1.1.11
6968
70-
71-
7269
PS C:\>Get-RemoteAccessConnectionStatistics | Format-List -Property *
7370
```
7471

@@ -79,7 +76,11 @@ The output of this cmdlet is piped to the [Format-List](http://go.microsoft.com/
7976

8077
### EXAMPLE 2
8178
```
82-
@{navigationLink=System.Management.Automation.PSObject[]; #text=System.Management.Automation.PSObject[]}
79+
PS C:\>$startDate = Get-Date -Date "12/23/2011"
80+
81+
PS C:\>$endDate = Get-Date -Date "05/23/2012"
82+
83+
PS C:\>Get-RemoteAccessConnectionStatistics -StartDateTime $startDate -EndDateTime $endDate | Export-Csv -Path "data.csv"
8384
```
8485

8586
This example gets a list of historic connections and export them to a .csv file.
@@ -88,7 +89,6 @@ This example gets a list of historic connections and export them to a .csv file.
8889
```
8990
PS C:\>$enddate = Get-Date -Date "12/23/2011"
9091
91-
9292
The data is exported from server start date to the specified end date. Note: The starting date does not need to be explicitly specified here.
9393
PS C:\>Get-RemoteAccessConnectionStatistics -EndDateTime $enddate | Export-Csv -Path "data.csv"
9494
```

0 commit comments

Comments
 (0)