Add Powershell script to set network category to private for DockerNAT.
This commit is contained in:
parent
fb6d972d55
commit
7dd819c4b5
1
cli-windows/set-dockernat-networkategory-to-private.ps1
Normal file
1
cli-windows/set-dockernat-networkategory-to-private.ps1
Normal file
@ -0,0 +1 @@
|
||||
Get-NetConnectionProfile | Where-Object { $_.InterfaceAlias -match "(DockerNAT)" } | ForEach-Object { Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private }
|
Loading…
x
Reference in New Issue
Block a user