MinaTech Blog (Tricks, Ideas, Courses, etc...)
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