Thursday, December 24, 2020

 

PowerShell Command 


New-NetIPAddress [-IPAddress] <String> [-DefaultGateway <String>] [-AddressFamily <AddressFamily>] [-Type <Type>] [-PrefixLength <Byte>] [-ValidLifetime <TimeSpan>] [-PreferredLifetime <TimeSpan>] [-SkipAsSource <Boolean>] [-PolicyStore <String>] -InterfaceIndex <UInt32> [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]


CMD Command: 

ipconfig/release
ipconfig/renew
ipconfig/release

PowerShell Command:

Set-DnsClientServerAddress [-InterfaceAlias] <String[]> [-ServerAddresses <String[]>] [-Validate] [-ResetServerAddresses] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-AsJob] [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]

CMD Command:

ipconfig /flushdns
ipconfig /registerdns

NETSH winsock reset catalog NETSH int ipv4 reset reset.log NETSH int ipv6 reset reset.log exit


Saturday, December 5, 2020

How To Fix Bad System Config Info Blue Screen Error In Windows 10

  1. Type the following commands and press Enter after each.

  2. CD C:\Windows\System32\config
    ren C:\Windows\System32\config\DEFAULT DEFAULT.old
    ren C:\Windows\System32\config\SAM SAM.old
    ren C:\Windows\System32\config\SECURITY SECURITY.old
    ren C:\Windows\System32\config\SOFTWARE SOFTWARE.old
    ren C:\Windows\System32\config\SYSTEM SYSTEM.old
  3. After the last command in step 2 completed, then type the following commands and press Enter after each.

  4. copy C:\Windows\System32\config\RegBack\DEFAULT C:\Windows\System32\config\

    copy C:\Windows\System32\config\RegBack\SAM C:\Windows\System32\config\

    copy C:\Windows\System32\config\RegBack\SECURITY C:\Windows\System32\config\

    copy C:\Windows\System32\config\RegBack\SYSTEM C:\Windows\System32\config\

    copy C:\Windows\System32\config\RegBack\SOFTWARE C:\Windows\System32\config\

Tuesday, December 1, 2020

How To Download And Install PowerShell 7.1 In Windows 10

            How To Download And Install PowerShell 7.1 In Windows 10


Download PowerShell 7.1

For Windows 10, Windows 8.1 and Windows 7

PowerShell-7.1.0-win-x64.msi [95 MB]

PowerShell-7.1.0-win-x86.msi [85.8 MB]

For MacOS

powershell-7.1.0-osx-x64.pkg

For Linux

CentOS

powershell-7.1.0-1.centos.8.x86_64.rpm