How to Configure DHCP with PowerShell

PowerShell commands are an easy way to save a lot of time as system administrator. In this article, I'll show you how to configure DHCP from PowerShell. I have following information including scope, and router gateway IP. DHCP DNSServerIP="192.168.1.10" DHCPServerIP="192.168.1.10" StartRange="192.168.1.150" EndRange="192.168.1.200" Subnet="255.255.255.0" Router="192.168.1.1" Following is the configuration break down: Installing DHCP Adding DHCP scope ... Read more

How to Check the PowerShell Version on Windows

If you want to check which PowerShell version are you using, execute either get-host or echo $PSVersionTable on PowerShell with elevated privileges. The latest version is 5.1 and it is available in the newer generation of Windows Server 2016. PowerShell Versions on Windows Following are some previous PowerShell versions: Version 1.0 (Available in Windows Server 2008) ... Read more

How to Keep Installed Drivers After Running SYSPREP

Sometime it is necessary to keep installed drivers on windows even after running sysprep. You can do so by following these steps. Step-by-Step instructions Step 1: Open run command. Type regedit and then press enter key. Step 2: Go to the following path: GoHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\Sysprep\Settingregedits\sppnp Step 3: Locate PersistAllDeviceInstalls on right side of window. Step 4: Right-click and ... Read more