<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: REST API brings result, but PowerShell doesn't. in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158857#M112</link>
    <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/17855"&gt;@aladd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure about PowerShell version, but it must be the last one or one version before.&lt;/P&gt;
&lt;P&gt;NetApp is 9.6.&lt;/P&gt;
&lt;P&gt;I'm not Storage administrator, therefore sorry, if make a mistake in NetApp lexicon.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is one name I've gotten from NetApp administrator, as my understanding it's a virtual name of Cluster.&lt;/P&gt;
&lt;P&gt;I don't think there is some problem with connection, because no matter from which server I'm connected to the storage there are users I can get their information regarding storage usage, using Rest API, but PowerShell doesn't bring me such information, it brings nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
    <pubDate>Fri, 21 Aug 2020 08:18:32 GMT</pubDate>
    <dc:creator>PAVLENYCH</dc:creator>
    <dc:date>2020-08-21T08:18:32Z</dc:date>
    <item>
      <title>REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158781#M107</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to automate getting and setting Quota for users.&lt;/P&gt;
&lt;P&gt;So far I'm doing well and have already gotten a huge help here, but recently I ran to some strange situation from my point of view at least.&lt;/P&gt;
&lt;P&gt;What is happening is:&lt;/P&gt;
&lt;P&gt;I get an answer while performing the following REST API request:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nanaspt1/api/storage/quota/reports?users.name=CLAL-INS%5C%E2%80%9DuserName%E2%80%9D&amp;amp;fields=*" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://nanaspt1/api/storage/quota/reports?users.name%3DCLAL-INS%255C%E2%80%9DuserName%E2%80%9D%26fields%3D*&amp;amp;source=gmail&amp;amp;ust=1597932475033000&amp;amp;usg=AFQjCNFlbY0T9N71J3XZ8bZex58_4UGrOA"&gt;https://nanaspt1/api/storage/&lt;WBR /&gt;quota/reports?users.name=CLAL-&lt;WBR /&gt;INS\”userName”&amp;amp;fields=*&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But when I'm try to get the same information for user "userName" by using PowerShell command it doesn't bring anything:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Get-NcQuota -Volume “volumeName” -Target “userName”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please think about why there is a different behaviour, even though both ways have to bring the same result based on my knowledge with NetApp?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Pavel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:56:42 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158781#M107</guid>
      <dc:creator>PAVLENYCH</dc:creator>
      <dc:date>2025-06-04T10:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158798#M108</link>
      <description>&lt;P&gt;Are you able to provide a sample output from "Get-NcQuota -Volume “volumeName” -Target *username*"?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:46:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158798#M108</guid>
      <dc:creator>aladd</dc:creator>
      <dc:date>2020-08-20T10:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158799#M109</link>
      <description>&lt;P&gt;Are you able to provide a sample output from "Get-NcQuota -Volume “volumeName” -Target *username*"?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 10:49:14 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158799#M109</guid>
      <dc:creator>aladd</dc:creator>
      <dc:date>2020-08-20T10:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158809#M110</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;It just brings no information.&lt;/P&gt;
&lt;P&gt;By the way, one thing, but very important thing I didn't mention: "get-ncquota" doesn't bring anything not for all users.&lt;/P&gt;
&lt;P&gt;To make picture cleaner:&lt;/P&gt;
&lt;P&gt;Rest API does bring information for every user, but "get-ncquota" doesn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 13:06:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158809#M110</guid>
      <dc:creator>PAVLENYCH</dc:creator>
      <dc:date>2020-08-20T13:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158841#M111</link>
      <description>&lt;P&gt;Hi Pavel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What version of the PSTK are you using, and with what version of ONTAP are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, can you check the connection to storage, verifying that you are connected to the correct cluster management LIF, using the powershell cmdlets?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 00:39:11 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158841#M111</guid>
      <dc:creator>aladd</dc:creator>
      <dc:date>2020-08-21T00:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158857#M112</link>
      <description>&lt;P&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/17855"&gt;@aladd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure about PowerShell version, but it must be the last one or one version before.&lt;/P&gt;
&lt;P&gt;NetApp is 9.6.&lt;/P&gt;
&lt;P&gt;I'm not Storage administrator, therefore sorry, if make a mistake in NetApp lexicon.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is one name I've gotten from NetApp administrator, as my understanding it's a virtual name of Cluster.&lt;/P&gt;
&lt;P&gt;I don't think there is some problem with connection, because no matter from which server I'm connected to the storage there are users I can get their information regarding storage usage, using Rest API, but PowerShell doesn't bring me such information, it brings nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 08:18:32 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158857#M112</guid>
      <dc:creator>PAVLENYCH</dc:creator>
      <dc:date>2020-08-21T08:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: REST API brings result, but PowerShell doesn't.</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158946#M116</link>
      <description>&lt;P&gt;You can pull the version using the cmdlet "get-module -name *Data*"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, do you know which SVM you are connected to from the cluster?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2020 08:18:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/REST-API-brings-result-but-PowerShell-doesn-t/m-p/158946#M116</guid>
      <dc:creator>aladd</dc:creator>
      <dc:date>2020-08-25T08:18:40Z</dc:date>
    </item>
  </channel>
</rss>

