Please use the script to get disk usage for all your quotas configured.
drName = 'C:' - the value of this variable can be changed as per your requirement.
So, give the name of the drive or disk which you want to perform operations on it
Please Run the script as system user .
This script run as a system user.