- WMI Library -
WMI Libraly > Win32_VolumeUserQuota Class

Win32_VolumeUserQuota Class

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.
Namespace value is root/CIMV2.
WMI Provider value is MSVDS__PROVIDER.


Properties

  • Account
  • The user account

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

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

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

  • Volume
  • The volume

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


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_VolumeUserQuota
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -
    http://library.wmifun.net/

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...