Skip to content

Instantly share code, notes, and snippets.

@amit-g
Last active December 20, 2016 19:19
Show Gist options
  • Save amit-g/d7008dbb83fb6f80bc1935ab8b6155ab to your computer and use it in GitHub Desktop.
Save amit-g/d7008dbb83fb6f80bc1935ab8b6155ab to your computer and use it in GitHub Desktop.
# https://www.tenforums.com/tutorials/6815-network-location-set-private-public-windows-10-a.html
# net view
Get-NetConnectionProfile
$NetConnProfile = Get-NetConnectionProfile
Set-NetConnectionProfile -Name $NetConnProfile.Name -NetworkCategory Private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment