Learn About Powershell Check File Size In Brief.

Asked By 0 points N/A Posted on -


I want to know about powershell check file size. I wish to verify my file size using PowerShell so that I could find the large files occupying maximum disk space. Is there any command for this or some other method?

Answered By 0 points N/A #299311

Learn About Powershell Check File Size In Brief.


To find the large files,you can use the Get-ChildItem cmdlet.

The syntax of Get-ChildItem command is:

For example,here Get-ChildItem command is retrieving the list of documents from the current location.

Image result for powershell check file size

After successfully executing these steps:

  • Use the command to find the files occupying maximum space on your server. These may be SQL files which consume all your disk space.
  • Also, don’t forget to monitor the file sizes using this PowerShell command.

Login/Register to Answer

Related Questions