diff --git a/docker-for-windows/troubleshoot.md b/docker-for-windows/troubleshoot.md index 316186cb9c..c80a9c559b 100644 --- a/docker-for-windows/troubleshoot.md +++ b/docker-for-windows/troubleshoot.md @@ -575,7 +575,7 @@ You might have stale NAT configurations on the system. You should remove them wi You might have stale Network Adapters on the system. You should remove them with the following commands on an elevated Powershell prompt: ``` - PS C:\Users\jdoe> vmNetAdapter = Get-VMNetworkAdapter -ManagementOS -SwitchName DockerNAT + PS C:\Users\jdoe> $vmNetAdapter = Get-VMNetworkAdapter -ManagementOS -SwitchName DockerNAT Get-NetAdapter "vEthernet (DockerNAT)" | ? { $_.DeviceID -ne $vmNetAdapter.DeviceID } | Disable-NetAdapter -Confirm:$False -PassThru | Rename-NetAdapter -NewName "Broken Docker Adapter" ```