Skip to content

Commit 0cd3560

Browse files
authored
Merge pull request #76850 from ChristianMontoya/patch-6
Updating commands to be ```PowerShell not ```cmd
2 parents 0eec58b + 74145bd commit 0cd3560

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/virtual-desktop/troubleshoot-client-connection.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Confirm there's internet connectivity by opening another web site; for example,
2323

2424
Use **nslookup** to confirm DNS can resolve the FQDN:
2525

26-
```cmd
27-
nslookup rdweb.wvd.microsoft.com
28-
```
26+
```cmd
27+
nslookup rdweb.wvd.microsoft.com
28+
```
2929

3030
Try connecting with another client, like Remote Desktop client for Windows 7 or Windows 10, and check to see if you can open the web client.
3131

@@ -106,20 +106,20 @@ Follow these general troubleshooting instructions for client connection error co
106106
4. Using **Get-RdsHostPool** and **Get-RdsSessionHost** cmdlets, confirm that troubleshooting is being done on the correct host pool.
107107
5. Execute the command below to get a list of all failed activities of type connection for the specified time window:
108108

109-
```cmd
109+
```PowerShell
110110
Get-RdsDiagnosticActivities -TenantName <TenantName> -username <UPN> -StartTime
111111
"11/21/2018 1:07:03 PM" -EndTime "11/21/2018 1:27:03 PM" -Outcome Failure -ActivityType Connection
112112
```
113113
114114
6. Using the **ActivityId** from the previous cmdlet output, run the command below:
115115
116-
```
116+
```PowerShell
117117
(Get-RdsDiagnosticActivities -TenantName $tenant -ActivityId <ActivityId> -Detailed).Errors
118118
```
119119
120120
7. The command produces output similar to the output shown below. Use **ErrorCodeSymbolic** and **ErrorMessage** to troubleshoot the root cause.
121121
122-
```
122+
```PowerShell
123123
ErrorSource : <Source>
124124
ErrorOperation : <Operation>
125125
ErrorCode : <Error code>
@@ -154,7 +154,7 @@ A user can start Remote Desktop clients and is able to authenticate, however the
154154
155155
Confirm that the user reporting the issues has been assigned to application groups by using this command line:
156156
157-
```cmd
157+
```PowerShell
158158
Get-RdsAppGroupUser <tenantname> <hostpoolname> <appgroupname>
159159
```
160160

@@ -171,4 +171,4 @@ If the web client is being used, confirm that there are no cached credentials is
171171
- To learn more about the Preview service, see [Windows Desktop Preview environment](https://docs.microsoft.com/azure/virtual-desktop/environment-setup?).
172172
- To go through a troubleshoot tutorial, see [Tutorial: Troubleshoot Resource Manager template deployments](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-tutorial-troubleshoot).
173173
- To learn about auditing actions, see [Audit operations with Resource Manager](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-audit).
174-
- To learn about actions to determine the errors during deployment, see [View deployment operations](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-deployment-operations).
174+
- To learn about actions to determine the errors during deployment, see [View deployment operations](https://docs.microsoft.com/azure/azure-resource-manager/resource-manager-deployment-operations).

0 commit comments

Comments
 (0)