Monitor Processes With Windows PowerShell

Maybe you have already come across applications that require you to rearrange things on your desktop for optimal visibility or that you only use in combination with other programs or items - an automated startup or rearrangement would come in handy in those situations. Monitor Processes with  PowerShell The following little PowerShell script allows just ... Read more

How to Create a Hyper-V Virtual Machine using PowerShell

You can create a new VM by using one of the following two methods: Using Windows GUI. Using PowerShell commands. This article will discuss how to create a Hyper-V virtual machine using PowerShell commands. Create a Hyper-V Virtual Machine using PowerShell Step 1. Open PowerShell command with elevated privileges. Step 2. Execute the following command ... Read more

How to Append Data to a Text File Using PowerShell

PowerShell Append Text To File

You can use the PowerShell add-content cmdlet to append data to a text file. Here is an example of how to use the add-content PowerShell cmdlet to append text to a file on Windows. We'll also explain the command-line options that you can use. Powershell add-content example Step 1. Open PowerShell with elevated privileges Step 2. Execute ... Read more

How to Create a PowerShell Session on a Remote Computer

PowerShell Remote Session

A session is required to execute PowerShell commands or scripts on a remote computer. A PowerShell session is also known as PowerShell remoting, and it is just like an SSH session to an operating system. There are several ways to create a PowerShell session. I'll list one of the easiest methods here. These steps work ... Read more

Timed Shutdown on Windows

You can time shutdown on your computer easily by creating a short VBScript that contains either only the shutdown command or shutdown command with an integrated second timer. If you do not add a timer, you can also use Windows' Scheduled Tasks function to have the computer shut down at a specific time. The VBScript ... Read more

How to Sysprep Windows 8.1 for deployment

The Sysprep or System Preparation Tool is used to create a new security identifier (SID) and clean up user-specific and computer-specific settings and data so that an image can be used to deploy windows operating systems on other machines. The tool is located in \Windows\System32\sysprep folder. Following are the steps which are required: Step 1: Click Windows ... Read more

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