Would you like to learn how to verify the directory size using Powershell? In this tutorial, we are going to show you how to use Powershell to get the directory size on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell - Verify the directory size

Start a Powershell command-line.

Start Powershell

Verify the directory size.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the directory size recursively.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the size of all subdirectories using Powershell.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

The last line will show the total size of the directory.

Congratulations! You are able to verify the directory size using Powershell.