Setting network type using PowerShell

Open PowerShell with administrative privileges

  1. Run the following command:
    Get-NetConnectionProfile
  2. See the network name you want to change its type and run the following command:
    Set-NetConnectionProfile -Name “REF” -NetworkCategory Public
    Where REF is the name of your network and you can change the -NetworkCategory switch value to Public or Private.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    Time limit is exhausted. Please reload CAPTCHA.