Windows Core: Install PowerShell 3.0 by using PowerShell 2.0

Run the script below in the PowerShell 2.0 on your Windows Core (new-object System.Net.WebClient).DownloadFile(‘http://download.microsoft.com/download/3/6/1/361DAE4E-E5B9-4824-B47F-6421A6C59227/dotNetFx40_Full_x86_x64_SC.exe’, ‘c:\dotNetFx40_Full_x86_x64_SC.exe’) .\dotNetFx40_Full_x86_x64_SC.exe (new-object System.Net.WebClient).DownloadFile(‘http://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x64.msu’, ‘c:\Windows6.1-KB2506143-x64.msu’) .\Windows6.1-KB2506143-x64.msu It is not unattended installation. You will be prompted several times to click Next.

Enable NetBIOS over TCP/IP

To enable NetBIOS over TCP/IP first identify the adapters index number using wmic nicconfig get caption,index,TcpipNetbiosOptions then using one of the following values: 0 – Use NetBios setting from DHCP 1 – Enable NetBios over TCP/IP 2 – Disable NetBios over TCP/IP set the required NetBIOS over TCP/IP value to each Nic. wmic nicconfig whereContinue reading “Enable NetBIOS over TCP/IP”

Removing Password Complexity Requirements from Windows Server 2008 Core

Use this PowerShell script if you need to remove Password Complexity Requirements from Windows Server 2008 Core: secedit /export /cfg c:\new.cfg ${c:new.cfg}=${c:new.cfg} | % {$_.Replace(‘PasswordComplexity=1’, ‘PasswordComplexity=0’)} secedit /configure /db $env:windir\security\new.sdb /cfg c:\new.cfg /areas SECURITYPOLICY del c:\new.cfg