Data ONTAP Discussions

How can i get "quota report" on ONTAP9

SDK : netapp-manageability-sdk-5.4P1

Language : PowerShell

 

 

I try to get quota report , but it dosent work.

 

 

Error Message ---

ERROR: Unable to find API: quota-report-iter-start

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

 

SAMPLE ----------------

[NetApp.Manage.NaElement] $in =  New-Object NetApp.Manage.NaElement("quota-report-iter-start");
$in.AddNewChild("path",$path2q);
[NetApp.Manage.NaElement] $out = $s.InvokeElem($in);

$records = $out.GetChildContent("records");
$tag = $out.GetChildContent("tag");

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

 

 

It works on 7-mode.

 

How can i get "quota report" on ONTAP9?

 

 

regads,

1 REPLY

Re: How can i get "quota report" on ONTAP9

Hello,

 

I solved it by reporting each required path.

 

 

thanks.

Forums