Home Reference WMI Reference root CIMV2 Win32_VolumeUserQuota
 

Win32_VolumeUserQuota

The Win32_VolumeUserQuota association relates per user quotas to quota enabled 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.

Quick Start

Properties

Most WMI properties are read-only. You can only read values but not change them. Few properties are also writeable. You can assign new values to those properties.

Writeable properties are marked with this icon:   

Account

Data type Reference

The user account

DiskSpaceUsed

Data type UInt64

The DiskSpaceUsed property indicates the current number of Bytes currently in use by this particular user or group.

  Limit

Data type UInt64

The Limit property indicates the limit set for this particular user or group.

Status

Data type UInt32

A Status property indicates the current status of the Disk Quota.

$Status_ReturnValue = 
@{
    0='OK'
    1='Warning'
    2='Exceeded'
}

Volume

Data type Reference

The volume

  WarningLimit

Data type UInt64

The WarningLimit property indicates the warning limit set for this particular user or group.

Methods

Examples

Help and Questions

  Community Content

You are cordially invited to add knowledge to this page. If you have sample code or additional information related to this WMI class, please share it. Use the comment form to send your information. We will edit and incorparate it into the reference library. Thank you!

Please do not use the comment form to submit questions. If you have questions or need assistance, visit our free forum: Help me with WMI.

Content last updated: 2013-12-27 12:29:41 (UTC).

Facebooktwittergoogle_pluspinterestlinkedinFacebooktwittergoogle_pluspinterestlinkedin