directory or share name the directory whose size you want to measure -t timeout the timeout period in seconds -l domain:username:password login credentials if required to connect to a remote serverA standard set of command-line parameters would look something like this:
\\SERVER\share -t 20 -l $AdminDomain:$AdminName:$AdminPasswordKeep in mind that computing the directory size can be time-consuming, so avoid running it too frequently to prevent system overload.