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/

Tuesday, August 7, 2018

Add network user to local administrator group

Run powershell as administrator

Add-LocalGroupMember -Group "Administrators" -Member "username@domain.local"

There's no place like pro. There's no place like pro. There's no place like pro.

Shift F10 Start ms-cxh:localonly   changepk.exe /ProductKey VK7JG-NPHTM-C97JM-9MPGT-3V66T