Set Network Profile to Private with PowerShell

From Yggenyk
Jump to navigation Jump to search

Set Network Profile

Use the PowerShell command Get-NetConnectionProfile to return the the connection profile associated with one or more physical network adapters.

Modify the NetworkCategory to what you wish by using the Set-NetConnectionProfile command.

'Example: Set-NetConnectionProfile -InterfaceIndex 4 -NetworkCategory Private