Two versions of Get-FolderSize, to get the size of a folder and its content.
One version is a pure Powershell one. The other uses Robocopy to do its job. The Robocopy version is usually quicker. The bigger the folder, the most impressive the difference (Sometimes though, the first access is slower, and I don't understand why).
Of note: Robocopy has been written as optimised for speed, whereas Powershell builds a .NET object for every file, hence the big difference in speed. Another plus of the Robocopy version is that it never breaks on long filepaths.