Skip to content

Commit 744772a

Browse files
authored
Merge pull request MicrosoftDocs#3358 from XXLMandalorian013/DrewDocUpdates
Quality: PowerShell Summit MicrosoftDocsGH-3355
2 parents 4f390dd + 458605a commit 744772a

File tree

4 files changed

+29
-10
lines changed

4 files changed

+29
-10
lines changed

docset/winserver2022-ps/remoteaccess/Get-RemoteAccessRoutingDomain.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ The **Get-RemoteAccessRoutingDomain** cmdlet retrieves routing domain configurat
2626
## EXAMPLES
2727

2828
### Example 1: Retrieve configuration for a specific routing domain
29+
```powershell
30+
Get-RemoteAccessRoutingDomain -Name Rd_01
2931
```
30-
PS C:\> Get-RemoteAccessRoutingDomain -Name Rd_01
32+
33+
```Output
3134
3235
RoutingDomain : Rd_01
3336
RoutingDomainID : {11111111-1111-1111-1111-111111111001}

docset/winserver2022-ps/remoteaccess/Get-RemoteAccessUserActivity.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,28 @@ However, only one of these filters can be used at a time.
5252
## EXAMPLES
5353

5454
### EXAMPLE 1
55-
```
56-
PS C:\>$startdate = Get-Date -Date "12/16/2011"
55+
56+
```powershell
57+
$startdate = Get-Date -Date "12/16/2011"
5758
5859
5960
60-
PS C:\>$startdate
61+
$startdate
6162
16 December 2011 00:00:00
6263
6364
64-
PS C:\>$enddate = Get-Date -Date "12/23/2011"
65+
$enddate = Get-Date -Date "12/23/2011"
66+
6567
6668
69+
$enddate
6770
68-
PS C:\>$enddate
6971
7072
73+
Get-RemoteAccessUserActivity -StartDateTime $startdate -EndDateTime $enddate -UserName "corp.contoso.com\User1"
74+
```
7175

72-
PS C:\>Get-RemoteAccessUserActivity -StartDateTime $startdate -EndDateTime $enddate -UserName "corp.contoso.com\User1"
76+
```output
7377
ServerIpAddress ProtocolID ServerPort
7478
--------------- ---------- ----------
7579
2001:4898:0:fff:0:5efe:10.57.36.131 6 443
@@ -80,8 +84,12 @@ This example shows historic access details for a particular user.
8084
Query the accounting store for user activity details for User1 between the start date and end date.
8185

8286
### EXAMPLE 2
87+
88+
```powershell
89+
Get-RemoteAccessUserActivity -UserName "contoso\User1" -ComputerName edge1.corp.contoso.com
8390
```
84-
PS C:\>Get-RemoteAccessUserActivity -UserName "contoso\User1" -ComputerName edge1.corp.contoso.com
91+
92+
```output
8593
ServerIpAddress ProtocolID ServerPort
8694
--------------- ---------- ----------
8795
2001:4898:0:fff:0:5efe:10.166.20.136 6 80

docset/winserver2022-ps/remoteaccess/Get-RoutingProtocolPreference.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ Use the Set-RoutingProtocolPreference cmdlet to modify preferences.
2929
## EXAMPLES
3030

3131
### Example 1: Display preferences
32+
33+
```powershell
34+
Get-RoutingProtocolPreference
3235
```
33-
PS C:\> Get-RoutingProtocolPreference
36+
37+
```output
3438
Protocol Priority (Lower value = higher priority)
3539
----------------------------- -----------------------------------------------
3640
local 1

docset/winserver2022-ps/remoteaccess/Get-VpnAuthProtocol.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ The **Get-VpnAuthProtocol** cmdlet retrieves VPN authentication parameters for i
2525
## EXAMPLES
2626

2727
### EXAMPLE 1
28+
29+
```powershell
30+
Get-VpnAuthProtocol
2831
```
29-
PS C:\>Get-VpnAuthProtocol
32+
33+
```output
3034
UserAuthProtocolAccepted : {EAP, MsChapv2}
3135
TunnelAuthProtocolsAdvertised : Certificates
3236
RootCertificateNameToAccept :

0 commit comments

Comments
 (0)