Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell calculate folder size in bytes

$(gci "C:Source" -recurse | measure lenght -sum).sum
# Gets size of C:Source in Bytes
Source by www.gngrninja.com #
 
PREVIOUS NEXT
Tagged: #powershell #calculate #folder #size #bytes
ADD COMMENT
Topic
Name
1+8 =