Shared drives quota
Posted: Mon May 04, 2020 8:51 pm
Hi Team,
We have a powershell script that we use to monitor quota on windows shares.
However, the script returns a Warning when no data is in the folder.
WARNING: 0.00 GB of 600.00 GB used, 0.00% used.
Can someone please help fix this?
Here is the command definition and have attached the script as well.
check_quota_Copies=check_quota.ps1 -Path "M:\Shares\Copies" -Warn 20 -Crit 10
Thank you,
Rebecca Murray
We have a powershell script that we use to monitor quota on windows shares.
However, the script returns a Warning when no data is in the folder.
WARNING: 0.00 GB of 600.00 GB used, 0.00% used.
Can someone please help fix this?
Here is the command definition and have attached the script as well.
check_quota_Copies=check_quota.ps1 -Path "M:\Shares\Copies" -Warn 20 -Crit 10
Thank you,
Rebecca Murray