About
This is to change the internet profile on the computer (wireless or wired) to private.
Script
$netprofile = Get-NetConnectionProfile | Select name
Set-NetConnectionProfile -Name $netprofile.name -NetworkCategory Private
This is to change the internet profile on the computer (wireless or wired) to private.
$netprofile = Get-NetConnectionProfile | Select name
Set-NetConnectionProfile -Name $netprofile.name -NetworkCategory Private