I need to get the size of a directory, recursively. I have to do this every month so I want to make a PowerShell script to do it.
How can I do it?
If you are interested in including the size of hidden and system files then you should use the -force parameter with Get-ChildItem.