Fix PowerShell syntax (#4714)

Assignment to a variable requires the dollar sign, e.g. `$variable = ...`
This commit is contained in:
Andrew Schwartzmeyer
2017-09-28 17:20:16 -07:00
committed by John Mulhausen
parent 2234936e35
commit 665727f90f

View File

@@ -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"
```