Add Powershell script to set network category to private for DockerNAT.

This commit is contained in:
Gajendra Thokala 2019-04-27 18:27:15 -07:00
parent fb6d972d55
commit 7dd819c4b5

View File

@ -0,0 +1 @@
Get-NetConnectionProfile | Where-Object { $_.InterfaceAlias -match "(DockerNAT)" } | ForEach-Object { Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private }