Sunday, 6 July 2014

Getting Quota Information from Clustered Data ONTAP with PowerShell

This is something I knocked up over the weekend. I needed
a PowerShell script that brings back from a Vserver/SVM, a list volumes and
their qtrees, whether quotas were turned on for those volumes, and - for those
volumes with quotas enabled - how much disk used per qtree/volume (the volumes/qtrees
have tracking quotas/enforced hard disk limits). The intention for the future
is that this information will be used to produce a spreadsheet, so returning
the information as an array we can manipulate later was desired.