3 lines
151 B
PowerShell
3 lines
151 B
PowerShell
#This script sets current network profile to Private
|
|
|
|
$net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory Private |