Export folder files and sizes - CSV file
Quote from moshe on 20/10/2020, 7:34 amProblem
The purpose of this tool is to create a CSV representing all of the files and size of a certain folder (including sub-folders). When run, it will prompt the user to select a folder. The output will be a .csv file in the desktop named "FileSize-Current-Date-And-Time.csv".
Solution
First enable script execution policy. run power shell with admin privileges and execute this command
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Download the file attached
rename the file to Export-FileandDirsSize.ps1
right click on the file and choose run with powershell
Note
The output size is in Mb.
Problem
The purpose of this tool is to create a CSV representing all of the files and size of a certain folder (including sub-folders). When run, it will prompt the user to select a folder. The output will be a .csv file in the desktop named "FileSize-Current-Date-And-Time.csv".
Solution
First enable script execution policy. run power shell with admin privileges and execute this command
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
Download the file attached
rename the file to Export-FileandDirsSize.ps1
right click on the file and choose run with powershell
Note
The output size is in Mb.