Skip to content

Commit 7dd819c

Browse files
author
Gajendra Thokala
committed
Add Powershell script to set network category to private for DockerNAT.
1 parent fb6d972 commit 7dd819c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Get-NetConnectionProfile | Where-Object { $_.InterfaceAlias -match "(DockerNAT)" } | ForEach-Object { Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private }

0 commit comments

Comments
 (0)