tacticalrmm/scripts/Win_Network_Set_To_Private.ps1

3 lines
151 B
PowerShell
Raw Normal View History

2021-04-13 21:39:44 +00:00
#This script sets current network profile to Private
$net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory Private