mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Fix PowerShell syntax (#4714)
Assignment to a variable requires the dollar sign, e.g. `$variable = ...`
This commit is contained in:
committed by
John Mulhausen
parent
2234936e35
commit
665727f90f
@@ -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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user