Browse Source

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

pull/1019/head
Gajendra Thokala 5 years ago
parent
commit
7dd819c4b5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cli-windows/set-dockernat-networkategory-to-private.ps1

+ 1
- 0
cli-windows/set-dockernat-networkategory-to-private.ps1 View File

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

Loading…
Cancel
Save