We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

how to get exact size of first level folder through powershell script

curator_at_work
8 - Asteroid

hi team
I am not getting the exact size of files and folder in C drive through get-child item command of powershell, there are always 5-10GB more size I am getting in total, so can you please suggest an effective script so that i can get the exact 'size on disk' of a files and folders.

1 REPLY 1
Dean4U
Alteryx
Alteryx

Hi @curator_at_work,

 

Thanks for reaching out to us. While this is not an out-of-the-box use case, I found some external resources that discuss something similar. Below is a link for it:

 

https://stackoverflow.com/questions/67131702/get-size-and-size-on-disk-of-files

 

Perhaps other community members will also have insights into this use case.

 

Hope this helps.

 

Take care.

Labels
Top Solution Authors