<?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 Creating Qtree using Powershell Module in ONTAP Rest API Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Creating-Qtree-using-Powershell-Module/m-p/458569#M714</link>
    <description>&lt;P&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;I trying to user the powershell module "NetApp.ONTAP"&amp;nbsp; to create Qtree on an AFFC800, I believe this module calling API but I am not sure.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Anyway, the things, I am able to create a qtree using the command below :&lt;BR /&gt;PS &amp;gt; new-NcQtree -VserverContext vs-dc1-sandbox -Volume vs_dc1_sandbox_flexgroup_project -Qtree 140225_Test -SecurityStyle unix -Mode "0750"&lt;BR /&gt;&lt;BR /&gt;However I need to specify the group (from active directoy) and if I do it fails with the error below&lt;BR /&gt;PS &amp;gt; new-NcQtree -VserverContext vs-dc1-sandbox -Volume vs_dc1_sandbox_flexgroup_project -Qtree 140225_Test -SecurityStyle unix -Mode "0750" -Group "acl_m"&lt;BR /&gt;## New-NcQtree : Cannot bind parameter 'Group'. Cannot convert the "acl_m" value of type "System.String" to type "DataONTAP.C.Types.Qtree.Group".&lt;BR /&gt;At line:1 char:137&lt;BR /&gt;+ ... t -Qtree 140225_Test -SecurityStyle unix -Mode "0750" -Group "acl_m"&lt;BR /&gt;&lt;BR /&gt;I look up the web and I did not manage to find a solution to pass the group with the right type etc...&amp;nbsp;&lt;BR /&gt;The AD group association&amp;nbsp;with Qtree works well when creating using the CLI or the web interface.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Many thanks in advance for your help.&lt;BR /&gt;Nicolas&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 14:13:31 GMT</pubDate>
    <dc:creator>NickCIRC</dc:creator>
    <dc:date>2025-02-14T14:13:31Z</dc:date>
    <item>
      <title>Creating Qtree using Powershell Module</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Creating-Qtree-using-Powershell-Module/m-p/458569#M714</link>
      <description>&lt;P&gt;Dear all,&lt;BR /&gt;&lt;BR /&gt;I trying to user the powershell module "NetApp.ONTAP"&amp;nbsp; to create Qtree on an AFFC800, I believe this module calling API but I am not sure.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Anyway, the things, I am able to create a qtree using the command below :&lt;BR /&gt;PS &amp;gt; new-NcQtree -VserverContext vs-dc1-sandbox -Volume vs_dc1_sandbox_flexgroup_project -Qtree 140225_Test -SecurityStyle unix -Mode "0750"&lt;BR /&gt;&lt;BR /&gt;However I need to specify the group (from active directoy) and if I do it fails with the error below&lt;BR /&gt;PS &amp;gt; new-NcQtree -VserverContext vs-dc1-sandbox -Volume vs_dc1_sandbox_flexgroup_project -Qtree 140225_Test -SecurityStyle unix -Mode "0750" -Group "acl_m"&lt;BR /&gt;## New-NcQtree : Cannot bind parameter 'Group'. Cannot convert the "acl_m" value of type "System.String" to type "DataONTAP.C.Types.Qtree.Group".&lt;BR /&gt;At line:1 char:137&lt;BR /&gt;+ ... t -Qtree 140225_Test -SecurityStyle unix -Mode "0750" -Group "acl_m"&lt;BR /&gt;&lt;BR /&gt;I look up the web and I did not manage to find a solution to pass the group with the right type etc...&amp;nbsp;&lt;BR /&gt;The AD group association&amp;nbsp;with Qtree works well when creating using the CLI or the web interface.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; Many thanks in advance for your help.&lt;BR /&gt;Nicolas&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 14:13:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Creating-Qtree-using-Powershell-Module/m-p/458569#M714</guid>
      <dc:creator>NickCIRC</dc:creator>
      <dc:date>2025-02-14T14:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Qtree using Powershell Module</title>
      <link>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Creating-Qtree-using-Powershell-Module/m-p/459183#M722</link>
      <description>&lt;P&gt;$mygroup = Get-NcGroup -VserverContext vs-dc1-sandbox -Name "acl_m"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to use the returned value. your "acl_m" isn't the correct type&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 15:37:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Rest-API-Discussions/Creating-Qtree-using-Powershell-Module/m-p/459183#M722</guid>
      <dc:creator>AmitKerkar</dc:creator>
      <dc:date>2025-03-06T15:37:45Z</dc:date>
    </item>
  </channel>
</rss>

