<?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: RFE: Get-NaCifsShare Add-NaCifsShare parameter passing in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20781#M988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On second thoughts, the most elegant would be that Get&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;-NaCifsShare&lt;/SPAN&gt; and &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;Add-NaCifsShare also (optionally?) could handle the ACL's.. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Apr 2013 14:12:29 GMT</pubDate>
    <dc:creator>sjallabais</dc:creator>
    <dc:date>2013-04-02T14:12:29Z</dc:date>
    <item>
      <title>RFE: Get-NaCifsShare Add-NaCifsShare parameter passing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20775#M987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$tmpShares = Get-NaCifsShare | Where-Object {$_.MountPoint -like "/vol/MyVol/*"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$tmpShares | Remove-NaCifsShare&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;..do some magic with the volume, and then..&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$tmpShares | Add-NaCifsShare&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove-NaCifsShare works fine, but Add-NaCifsShare wont take this object as input from the pipe.&lt;/P&gt;&lt;P&gt;It works if I do a lot of "Select-Object @{Name="Path";Expression={$_."MountPoint"}}" stuff, but should&lt;/P&gt;&lt;P&gt;it be necessary to do a lot of parameter renaming on these? (I think not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I also need to preserve and restore the ACL's with Get-NaCifsShareAcl, Set-NaCifsShareAcl, but they seems&lt;/P&gt;&lt;P&gt;to be "compatible" (I'll be happy if someone has a more elegant way of doing this procedure:)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Sjalla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:06:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20775#M987</guid>
      <dc:creator>sjallabais</dc:creator>
      <dc:date>2025-06-05T06:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: RFE: Get-NaCifsShare Add-NaCifsShare parameter passing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20781#M988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On second thoughts, the most elegant would be that Get&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;-NaCifsShare&lt;/SPAN&gt; and &lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12.800000190734863px; background-color: #ffffff;"&gt;Add-NaCifsShare also (optionally?) could handle the ACL's.. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 14:12:29 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20781#M988</guid>
      <dc:creator>sjallabais</dc:creator>
      <dc:date>2013-04-02T14:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: RFE: Get-NaCifsShare Add-NaCifsShare parameter passing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20786#M989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add-NaCifsShare accepts values only by property by pipeline, hence you need to convert mountpoint to hashtable property of "path" and pass the values. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote jiveImage" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 15:23:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20786#M989</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-03T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: RFE: Get-NaCifsShare Add-NaCifsShare parameter passing</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20795#M990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add-NaCifsShare accepts values only by property by pipeline, hence you need to convert mountpoint to hashtable property of "path" and pass the values. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote jiveImage" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 15:23:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/RFE-Get-NaCifsShare-Add-NaCifsShare-parameter-passing/m-p/20795#M990</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-04-03T15:23:53Z</dc:date>
    </item>
  </channel>
</rss>

