Microsoft Virtualization Discussions

Get-NaQuotaReport Need User Rather than Qtree

casejohnh
2,740 Views

Trying to use Get-NaQuotaReport to list user quotas on a volume. Looks like the report is set up to output Qtree rather than User. Anyone have any luck in modifying the script to produce the user?

Volume                    Qtree                     QuotaType   DiskLimit   DiskUsed  FileLimit  FilesUsed
------                    -----                     ---------   ---------   --------  ---------  ---------
vol100                                              user                     23.1 GB                   118
vol100                                              user                           0                     0
vol100                                              user                    270.1 GB                  611k
vol100                                              user                      2.1 GB                   10k
vol100                                              user                     24.0 MB                   410
vol100                                              user                      3.0 MB                   346

1 REPLY 1

ALEXANDER_KRIVOSHEIN
2,740 Views

Hi, faced with same issue.

PS C:\MyWorkSpace\Scripts> Get-NaQuotaReport qtest

Volume                    Qtree                     QuotaType   DiskLimit   DiskUsed  FileLimit  FilesUsed

------                    -----                     ---------   ---------   --------  ---------  ---------

qtest                                               user           1,0 MB   868,0 KB                     5

qtest                                               user           1,0 MB          0                     0

qtest                                               user           1,0 MB   484,0 KB                     2

qtest                                               user           1,0 MB          0                     0

From filer:

Type   IDVolumeTree  Used  Limit UsedLimit   Quota Specifier

----- -------- -------- -------- --------- --------- ------- ------- ---------------

user  \*user1*qtest    -   868  1024   5   - *user1*
user  \*user2*qtest    -     1024   0   - *user2*
user  \*user3*qtest    -   484  1024   2   - *user3*
user  \*user4*qtest    -     1024   0   - *user4*
Public