How to Setup Windows Deployment Services with Separate DHCP Server on Windows Server 2012 R2

In this post, I'll show you how to setup WDS when there is a separate DHCP server running on the network. This guide assumes you have already configured a DHCP server with an active scope. Prerequisites Your machine should meet the following requirements before WDS is configured. Administrator account has a strong password. Static IP is ... Read more

How to Run VBScript on Windows

To run VBScript file, follow these steps. I have tested on my Windows Server 2016 but it should run on other windows versions. Open PowerShell or command prompt with elevated privileges. Execute the following command: cscript <VBScript file name> For example, to run hello.vbs, which is located in your current working directory: cscript hello.vbs or ... Read more

How to save command output to a file using PowerShell

PowerShell command to file

PowerShell is a command-line shell designed specifically for system administrators. It helps administrators manage and automate the administration of Windows operating systems and the apps that run on them. PowerShell provides the ability to save the output of commands you run in it to a file that you can later view, analyze, and share with ... Read more

How to Check the PowerShell Version on Windows

PowerShell Version

If you want to check which PowerShell version you are using, then execute either the command get-host or the command echo $PSVersionTable on PowerShell with elevated privileges. Get PowerShell Version Powershell Command: echo $PSVersionTable Result: The latest version is 5.1 and it is available in the newer generation of Windows Server 2016. PowerShell Versions on Windows ... Read more

How to Check if Processor Supports SLAT (Second Level Address Translation)

If you want to run Hyper-V on newer Windows operating systems (Like Windows 8 or Windows Server 2016), your processor must support SLAT or Second level address translation. What is SLAT? SLAT is a technology which was introduced in both Intel and AMD processors. Intel calls this technology EPT (Extended Page Tables) while AMD refers ... Read more

How to Change System Language in Windows 10

Windows 10 language

You can change the default display language of your Windows 10 from English to any other language. This is useful in scenarios where multiple users are accessing the same system and they understand different languages. In this guide, I will walk through to change the default English language to Urdu (you can change it to Spanish, French or ... Read more

How to Create a Function in PowerShell

If you have worked with other programming languages, you have may used functions for code reusability. You can also create functions in PowerShell. PowerShell function example Below is the syntax of a simple function function hello-world { write-host "hello world"  } You can also pass parameters in a function using the param keyword function Get-TimesResult { Param ([int]$a,[int]$b) $c = ... Read more