<?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: Get-NcCifsShare not providing complete list of shares through Powershell. in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137538#M5619</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/65576"&gt;@krishna556&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what error you're experiencing/needing help with...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some CIFS shares are not being shown when using the ONTAP CLI (e.g. "cifs share show -vserver NAME"), but are correctly reported in the GUI and when using PowerShell (e.g. "Get-NcCifsShare -Vserver NAME")?&lt;/LI&gt;&lt;LI&gt;You are unable to create a CIFS share using PowerShell because it already exists?&lt;UL&gt;&lt;LI&gt;How are you creating the CIFS share?&amp;nbsp; What is the PowerShell code you're using?&amp;nbsp; How are you checking to see if the share name already exists?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 16:24:19 GMT</pubDate>
    <dc:creator>asulliva</dc:creator>
    <dc:date>2018-01-23T16:24:19Z</dc:date>
    <item>
      <title>Get-NcCifsShare not providing complete list of shares through Powershell.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137537#M5618</link>
      <description>&lt;P&gt;I am new bee working with Netapp Toolkit through Powershell.&lt;/P&gt;&lt;P&gt;I am having one SVM which is impacted by this, rest of all SVM's within same cluster are working fine.&lt;/P&gt;&lt;P&gt;Tool kit version:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Major Minor Build Revision&lt;BR /&gt;----- ----- ----- --------&lt;BR /&gt;4 1 0 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cluster version:&amp;nbsp;NetApp Release 9.1P10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Issue:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcCifsshare provides me complete list of CIFS shares on a cluster, If i execute his on my cluster, Some of the shares on one SVM are missing in CLI. I can validate the shares do exist through GUI.&lt;/P&gt;&lt;P&gt;Possible outcome of this is Powershell is trying to copy the CIFS shares from Source, and the files were already exist causing error "duplicate entry "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Failed to create CIFS Share DFS_PECAN_COMMON$ on SVM inxxxxxx8&lt;/P&gt;&lt;P&gt;NetApp.Ontapi.ErrnoException+EDUPLICATEENTRY: duplicate entry&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at NetApp.Ontapi.NaApi`1.Invoke(INaServer server)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; at DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.AddNcCifsShare.ProcessRecord(NcController controller)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please provide some help in this regard, does Toolkit upgrade can fix this issue.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:07:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137537#M5618</guid>
      <dc:creator>krishna556</dc:creator>
      <dc:date>2025-06-04T14:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcCifsShare not providing complete list of shares through Powershell.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137538#M5619</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/65576"&gt;@krishna556&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what error you're experiencing/needing help with...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Some CIFS shares are not being shown when using the ONTAP CLI (e.g. "cifs share show -vserver NAME"), but are correctly reported in the GUI and when using PowerShell (e.g. "Get-NcCifsShare -Vserver NAME")?&lt;/LI&gt;&lt;LI&gt;You are unable to create a CIFS share using PowerShell because it already exists?&lt;UL&gt;&lt;LI&gt;How are you creating the CIFS share?&amp;nbsp; What is the PowerShell code you're using?&amp;nbsp; How are you checking to see if the share name already exists?&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 16:24:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137538#M5619</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2018-01-23T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcCifsShare not providing complete list of shares through Powershell.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137545#M5620</link>
      <description>&lt;P&gt;Hi Asulliva,&lt;/P&gt;&lt;P&gt;Sorry for the confusion am pretty new to Netapp.&lt;/P&gt;&lt;P&gt;From ONTAP CLI and GUI,&amp;nbsp; I am able to validate all the shares and they do exist for&amp;nbsp; vserver SVM123.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From Powershell , I am trying to query the same vserver using Get-NcCifsshare query command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some parameters are missing from powershell output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS D:\working\scripts&amp;gt; Get-NcCifsShare -vserver inx123456 | select *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acl : {Everyone / Full Control}&lt;BR /&gt;AttributeCacheTtl :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;CifsServer : INX123456&lt;BR /&gt;Comment :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;DirUmask :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;FileUmask :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;ForceGroupForCreate :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;MaxConnectionsPerShare : 4294967295&lt;BR /&gt;NcController : inx.abc.com&lt;BR /&gt;OfflineFilesMode : manual&lt;BR /&gt;Path : /vol01/ogc/projects/SHELLFR-NDH/02_NDEU Connection Design&lt;BR /&gt;ShareName : DFS_02_NDEU Connection Design$&lt;BR /&gt;ShareProperties : {oplocks, browsable, changenotify, show_previous_versions}&lt;BR /&gt;SymlinkProperties : {symlinks}&lt;BR /&gt;&lt;STRONG&gt;Volume : vol01&lt;/STRONG&gt;&lt;BR /&gt;VscanFileopProfile : standard&lt;BR /&gt;Vserver : inx123456&lt;BR /&gt;AttributeCacheTtlSpecified : False&lt;BR /&gt;DirUmaskSpecified : False&lt;BR /&gt;FileUmaskSpecified : False&lt;BR /&gt;MaxConnectionsPerShareSpecified : True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acl : {Everyone / Full Control}&lt;BR /&gt;AttributeCacheTtl :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;CifsServer : INX123456&lt;BR /&gt;Comment : COMMON discipline share for the ASORC project.&lt;BR /&gt;DirUmask :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;FileUmask :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;ForceGroupForCreate :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;MaxConnectionsPerShare : 4294967295&lt;BR /&gt;NcController : inx.abc.com&lt;BR /&gt;OfflineFilesMode : manual&lt;BR /&gt;Path : /vol01/ogc/projects/ASORC/Common&lt;BR /&gt;ShareName : DFS_ASORC_Common$&lt;BR /&gt;ShareProperties : {oplocks, browsable, changenotify, show_previous_versions}&lt;BR /&gt;SymlinkProperties : {symlinks}&lt;BR /&gt;&lt;STRONG&gt;Volume :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;VscanFileopProfile : standard&lt;BR /&gt;Vserver : inx123456&lt;BR /&gt;AttributeCacheTtlSpecified : False&lt;BR /&gt;DirUmaskSpecified : False&lt;BR /&gt;FileUmaskSpecified : False&lt;BR /&gt;MaxConnectionsPerShareSpecified : True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Acl : {Everyone / Full Control}&lt;BR /&gt;AttributeCacheTtl :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;CifsServer : INX123456&lt;BR /&gt;Comment : CONTROLS discipline share for the ASORC project.&lt;BR /&gt;DirUmask :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;FileUmask :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;ForceGroupForCreate :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;MaxConnectionsPerShare : 4294967295&lt;BR /&gt;NcController : inx.abc.com&lt;BR /&gt;OfflineFilesMode : manual&lt;BR /&gt;Path : /vol01/ogc/projects/ASORC/Controls&lt;BR /&gt;ShareName : DFS_ASORC_Controls$&lt;BR /&gt;ShareProperties : {oplocks, browsable, changenotify, show_previous_versions}&lt;BR /&gt;SymlinkProperties : {symlinks}&lt;BR /&gt;&lt;STRONG&gt;Volume :&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;VscanFileopProfile : standard&lt;BR /&gt;Vserver : inx123456&lt;BR /&gt;AttributeCacheTtlSpecified : False&lt;BR /&gt;DirUmaskSpecified : False&lt;BR /&gt;FileUmaskSpecified : False&lt;BR /&gt;MaxConnectionsPerShareSpecified : True&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Volume parameter is&amp;nbsp;not returning any value&amp;nbsp;for some shares, which is highlighted above. Please let me know if you have any questions&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 19:51:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137545#M5620</guid>
      <dc:creator>krishna556</dc:creator>
      <dc:date>2018-01-23T19:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcCifsShare not providing complete list of shares through Powershell.</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137599#M5623</link>
      <description>&lt;P&gt;Deleted the target vservers manually and tryed to run the script fixed the issue.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 17:50:06 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcCifsShare-not-providing-complete-list-of-shares-through-Powershell/m-p/137599#M5623</guid>
      <dc:creator>krishna556</dc:creator>
      <dc:date>2018-01-25T17:50:06Z</dc:date>
    </item>
  </channel>
</rss>

