Monday, September 24, 2018

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 “ITT” -NetworkCategory Public
    Where ITT is the name of your network and you can change the -NetworkCategory switch value to Public or Private.
    PowerShell command to change network type
    This information is from the following URL:
    https://www.itechtics.com/change-network-type-windows-10/

Windows 11 Network Refresh Without Reboot

# Full-Network-Reset.ps1 # Run as Administrator for full effect Write-Host "Restarting network adapters..." -ForegroundColor C...