- WMI Library -
WMI Libraly > Win32_DiskQuota Class

Win32_DiskQuota Class

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


Properties

  • 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.

  • QuotaVolume
  • The QuotaVolume reference represents the disk volume which has disk quotas.

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

  • User
  • The User reference represents the user account associated with a disk quota.

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


    Methods

    Method not found.

    Example WQL

    SELECT * FROM Win32_DiskQuota
    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...