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 Delete a Folder Using Command Prompt of Windows

Delete Folder in Windows

To delete a folder using the command prompt of Windows, follow this procedure. Open a command prompt (Press the Windows icon key and R to open the run window). Type cmd and hit enter from the keyboard. On a command prompt, enter the following command and hit enter from the keyboard. Syntax rmdir /s <complete ... Read more

“No space left on device” error on empty drives

When you try to copy files from your hard drive to an external device such as an external hard drive or USB stick, you may get an error message saying that there is no free space left on your device, even though you just deleted everything to make room. This is most likely due to ... Read more

How to Comment Out Code in PowerShell Script

PowerShell Code Commenting

This guide gives you an overview of code commenting options in PowerShell. Just like any other programming language, you can comment out code in a PowerShell script for documentation purposes. Single-line comments in PowerShell To comment out a single line, put '#' in the beginning: Multiline Comments in PowerShell To comment out multiple lines, put ... 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 stored at your computer: write-host "$PSModulePath" You can get a list of all available modules on your Windows system by ... Read more

Switch between English and German keyboard layouts on German keyboards (Windows)

Switch Windows Keyboard Layout

German keyboards are usually QWERTZ keyboards, named after the first row of letters to the first, which differs from the English layout, which is called QWERTY. You can switch between these two using the key combination Alt + Shift. This switch can be the cause of your keyboard behaving strangely - for example, if you ... Read more