3 lines
223 B
PowerShell
3 lines
223 B
PowerShell
#Requires -RunAsAdministrator
|
|
Get-NetConnectionProfile | Where-Object { $_.InterfaceAlias -match "(DockerNAT)" } | ForEach-Object { Set-NetConnectionProfile -InterfaceIndex $_.InterfaceIndex -NetworkCategory Private }
|