Increase number of visible lines in cmd on Windows

Windows CMD Buffer Size

The Windows command-line only shows a history of 300 lines by default - this can be a nuisance especially if you are working with long list outputs. However, you can easily increase the number of lines that are shown. Open a cmd window, right-click the title bar, and select Properties. Go to the Layout tab and ... Read more

How to Check if a Disk Uses GPT or MBR on Windows

Windows: GPT or MBR Partition Table

There are different ways to store the partition table on a drive. The most widely used methods are GPT (Guid Partition Table) and MBR (Master Boot Record). This article shows you how to check your disk is using GPT or MBR. Check partition table type using the GUI Step 1. Press Windows key + X ... Read more

How to Get a List of Windows PowerShell Modules that can be Imported

Modules are collections of cmdlets that are stored in the path %WINDIR%\System32\WindowsPowerShell\. Get a List of Windows PowerShell Modules Now execute the following command to display the location of each directory where these modules are exactly stored at your computer: write-host "$PSModulePath" You can get a list of all available modules on your computer by ... Read more

Four Ways to Create a Directory with PowerShell

To create a directory with the help of PowerShell, open the PowerShell console with administrative privileges and use one of the following four ways. Creating a Directory by using PowerShell Method 1: Use the new-item command new-item <path of directory suppose c:\dir1> -itemtype directory Method 2: Use a file system object $fso = new-object -ComObject ... Read more

How to Exclude a User or Computer from Group Policy Object

Group Policy

When you apply a group policy on a container or OU, it applies to all users or computers in that container. However, you can exclude a single or multiple users or containers from the policy applied. This tutorial is written to show you how to exclude a single user from a group policy object. Exclude a ... Read more

Windows Powershell – “Running scripts is disabled on this system”

PowerShell

Powershell scripts can be run on any Windows system as long as they are run from the ISE by pushing the green play button. As soon as you want to run it from the cmd or the desktop file you'll get this error: script1.ps1 cannot be loaded because running scripts is disabled on this system. ... Read more

Fix “The program can’t start because MSVCR100.dll is missing from your computer.” error on Windows

Program can not start due to a MSVCR100.dll error

What hides behind this name is the Microsoft Visual C++ Redistributable which can easily be downloaded on the Microsoft website as x86 or x64 edition: 32 bit: http://www.microsoft.com/download/en/details.aspx?id=5555 64 bit: http://www.microsoft.com/download/en/details.aspx?id=14632 Usually, the application that misses the dll indicates what version you need - if one does not work, simply install the other.

How to Create a PowerShell Session on a Remote Computer

PowerShell Remote Session

To execute PowerShell commands or scripts on a remote computer, you need to create a session. This 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 are the required ... Read more

How to Append Data to a Text File Using PowerShell

You can use the PowerShell add-content cmdlet to append data to a text file. Here are an example and the command-line options that you can use. Powershell add-content example Step 1. Open PowerShell with elevated privileges Step 2. Execute the following command, (change the file path) Add-Content c:\scripts\test.txt "The End" By default, the data is appended after ... Read more