Skip to content
This repository was archived by the owner on Aug 20, 2020. It is now read-only.

Commit 216338f

Browse files
revised markdown
1 parent b76d7c1 commit 216338f

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

Usage-FAQ.md

+16-17
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
## Usage FAQ
22

3-
### I get an error about my network connection type being set to Public.
3+
*"I get an error about my network connection type being set to Public."*
44

5-
Full error:
5+
### Full error:
66

7-
```powershell
7+
```
88
Set-WSManQuickConfig : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150859113" Machine="localhost"><f:Message><f:ProviderFault provider="Config provider" path="%systemroot%\system32\WsmSvc.dll"><f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150859113" Machine="tablet"><f:Message>WinRM firewall exception will not work since one of the network connection types on this machine is set to Public. Change the network connection type to either Domain or Private and try again. </f:Message></f:WSManFault></f:ProviderFault></f:Message></f:WSManFault>
99
At line:116 char:17
1010
+ Set-WSManQuickConfig -force
@@ -13,7 +13,7 @@ At line:116 char:17
1313
+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand
1414
```
1515

16-
Fix:
16+
### Fix:
1717
```
1818
# Find connections with a NetworkCategory set to Public
1919
Get-NetConnectionProfile
@@ -22,11 +22,11 @@ Get-NetConnectionProfile
2222
Set-NetConnectionProfile -InterfaceIndex 3 -NetworkCategory Private
2323
```
2424

25-
### `Enable-Internet.ps1` fails on *New-NetNat : The parameter is incorrect.*
25+
*Enable-Internet.ps1 fails on New-NetNat : The parameter is incorrect.*
2626

2727
Full error:
2828

29-
```powershell
29+
```
3030
New-NetNat : The parameter is incorrect.
3131
At C:\Lability\Configurations\POC-StandAlone-Server-GUI\Enable-Internet.ps1:50 char:9
3232
+ New-NetNat -Name $NatName -InternalIPInterfaceAddressPrefix $ ...
@@ -52,19 +52,18 @@ Here's a visualization from the above limitations article:
5252

5353
Refer to this article for help on creating NAT networks: https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/setup_nat_network
5454

55-
Here are some helpful commands
55+
Here are some helpful PowerShell commands
5656

57-
```powershell
58-
# List NAT networks, take note of the IP range and subnet
59-
Get-NetNat
57+
### List NAT networks, take note of the IP range and subnet
58+
Get-NetNat
6059

61-
# Remove an existing NAT network
62-
Remove-NetNat DockerNAT
60+
### Remove an existing NAT network called DockerNAT
61+
Remove-NetNat DockerNAT
62+
63+
### Create a NAT network with coordinated subnet
64+
New-NetNat -Name DockerAndLabilityNAT -InternalIPInterfaceAddressPrefix "10.10.0.0/16"
65+
66+
Docker for Windows network settings can be updated from the windows tray icon. Lab network changes require updating both `Enable-Internet.ps1` and the `Lab.psd1` files.
6367

64-
# Create a NAT network with coordinated subnet
65-
New-NetNat -Name DockerAndLabilityNAT -InternalIPInterfaceAddressPrefix "10.10.0.0/16"
66-
# FYI Docker for Windows network settings can be updated from the windows tray icon.
67-
# Lab network changes require updating both Enable-Internet.ps1 and the Lab.psd1
68-
```
6968

7069

0 commit comments

Comments
 (0)