Need a Powershell script to provide details for file folders
- or -
Post a project like this1123
£60(approx. $77)
- Posted:
- Proposals: 5
- Remote
- #3417525
- Awarded
Description
Experience Level: Entry
Hi
Have the following command (listed below) - which can be run to give a size of a specific folder (i.e S:\Test\Results\New11")
COMMAND USED:
"{0:N2} GB" -f ((gci –force S:\Test\Results\New11 –Recurse -ErrorAction SilentlyContinue| measure Length -s).sum / 1Gb)
Need a command or script or function which can be used to run like a wildcard giving either individual details of a summarised size of a set of folders
I.E - Have a set of folders under S:\Test\Results\New11
e.TESTFOLDER_01
e.TESTFOLDER_02
e.TESTFOLDER_03
e.TESTFOLDER_04
Need the script or command to be run once but will match and summarise all the sub folders to give a combined size
i.e file_size s:\Test\Results|New11\TESTFOLDER_?? or TESTFOLDER*
If this is possible that is
Please if anyone thinks they can help please let me know
Many Thanks
Ralph
Have the following command (listed below) - which can be run to give a size of a specific folder (i.e S:\Test\Results\New11")
COMMAND USED:
"{0:N2} GB" -f ((gci –force S:\Test\Results\New11 –Recurse -ErrorAction SilentlyContinue| measure Length -s).sum / 1Gb)
Need a command or script or function which can be used to run like a wildcard giving either individual details of a summarised size of a set of folders
I.E - Have a set of folders under S:\Test\Results\New11
e.TESTFOLDER_01
e.TESTFOLDER_02
e.TESTFOLDER_03
e.TESTFOLDER_04
Need the script or command to be run once but will match and summarise all the sub folders to give a combined size
i.e file_size s:\Test\Results|New11\TESTFOLDER_?? or TESTFOLDER*
If this is possible that is
Please if anyone thinks they can help please let me know
Many Thanks
Ralph
Ralph L.
99% (36)Projects Completed
18
Freelancers worked with
15
Projects awarded
56%
Last project
27 Mar 2024
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies