tacticalrmm/scripts/Win_Network_Set_To_Private.ps1

3 lines
151 B
PowerShell

#This script sets current network profile to Private
$net = get-netconnectionprofile;Set-NetConnectionProfile -Name $net.Name -NetworkCategory Private