BACK TO INDEX

Win32_DiskQuota
The Win32_DiskQuota association class tracks disk space usage for NTFS volumes. System administrators can configure Windows to prevent further disk space use and log an event when a user exceeds a specified disk space limit. They can also log an event when a user exceeds a specified disk space warning level. Note that disk quotas cannot be set for the Administrator accounts themselves.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
DiskSpaceUsedUInt64The DiskSpaceUsed property indicates the current number of Bytes currently in use by this particular user or group.
LimitUInt64The Limit property indicates the limit set for this particular user or group.
QuotaVolumeReferenceThe QuotaVolume reference represents the disk volume which has disk quotas.
StatusUInt32A Status property indicates the current status of the Disk Quota.
UserReferenceThe User reference represents the user account associated with a disk quota.
WarningLimitUInt64The WarningLimit property indicates the warning limit set for this particular user or group.
SAMPLE DATA INSTANCE
   [LOCALE(1033): ToInstance Amended]
   instance of Win32_DiskQuota
   {
    DiskSpaceUsed = "0";
    Limit = "18446744073709551615";
    QuotaVolume = "Win32_LogicalDisk.DeviceID=\"C:\"";
    Status = 0;
    User = "Win32_Account.Domain=\"SCCM01\",Name=\"Administrators\"";
    WarningLimit = "18446744073709551615";
   };