Skip to content

Instantly share code, notes, and snippets.

@Memphizzz
Created September 29, 2018 02:38
Show Gist options
  • Save Memphizzz/a120b2eb782a09209203fd9402795e51 to your computer and use it in GitHub Desktop.
Save Memphizzz/a120b2eb782a09209203fd9402795e51 to your computer and use it in GitHub Desktop.
$netconf = Get-NetConnectionProfile -InterfaceAlias "vEthernet"
$netconf.NetworkCategory = "Private"
Set-NetConnectionProfile -InputObject $netconf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment