Skip to content

Commit 5d9ec22

Browse files
XXLMandalorian013michaeltlombardi
authored andcommitted
DrewDocUpdates
Add PS to code blocks and added out blocks that where tied into code blocks.
1 parent 4f390dd commit 5d9ec22

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-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: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,27 @@ 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+
```powershell
56+
$startdate = Get-Date -Date "12/16/2011"
5757
5858
5959
60-
PS C:\>$startdate
60+
$startdate
6161
16 December 2011 00:00:00
6262
6363
64-
PS C:\>$enddate = Get-Date -Date "12/23/2011"
64+
$enddate = Get-Date -Date "12/23/2011"
65+
6566
6667
68+
$enddate
6769
68-
PS C:\>$enddate
6970
7071
72+
Get-RemoteAccessUserActivity -StartDateTime $startdate -EndDateTime $enddate -UserName "corp.contoso.com\User1"
73+
```
7174

72-
PS C:\>Get-RemoteAccessUserActivity -StartDateTime $startdate -EndDateTime $enddate -UserName "corp.contoso.com\User1"
75+
```output
7376
ServerIpAddress ProtocolID ServerPort
7477
--------------- ---------- ----------
7578
2001:4898:0:fff:0:5efe:10.57.36.131 6 443
@@ -80,8 +83,11 @@ This example shows historic access details for a particular user.
8083
Query the accounting store for user activity details for User1 between the start date and end date.
8184

8285
### EXAMPLE 2
86+
```powershell
87+
Get-RemoteAccessUserActivity -UserName "contoso\User1" -ComputerName edge1.corp.contoso.com
8388
```
84-
PS C:\>Get-RemoteAccessUserActivity -UserName "contoso\User1" -ComputerName edge1.corp.contoso.com
89+
90+
```output
8591
ServerIpAddress ProtocolID ServerPort
8692
--------------- ---------- ----------
8793
2001:4898:0:fff:0:5efe:10.166.20.136 6 80

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

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

3131
### Example 1: Display preferences
32+
```powershell
33+
Get-RoutingProtocolPreference
3234
```
33-
PS C:\> Get-RoutingProtocolPreference
35+
36+
```output
3437
Protocol Priority (Lower value = higher priority)
3538
----------------------------- -----------------------------------------------
3639
local 1

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

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

2727
### EXAMPLE 1
28+
```powershell
29+
Get-VpnAuthProtocol
2830
```
29-
PS C:\>Get-VpnAuthProtocol
31+
32+
```output
3033
UserAuthProtocolAccepted : {EAP, MsChapv2}
3134
TunnelAuthProtocolsAdvertised : Certificates
3235
RootCertificateNameToAccept :

0 commit comments

Comments
 (0)