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

How to Take High-Resolution Screenshots in Windows

Windows High Resolution Screenshot

When working with any operating system, you often come across such situations when you want to capture the screen and capture screenshot on PC, also referred to as capture screen picture. Often, you may need high-quality screenshots. In this article, we will explain two methods for capturing good screenshots with a high resolution in Windows ... 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

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