Microsoft Virtualization Discussions

Get-NcCifsShare: Cifs shares missing Volume

krishna556
Re: Get-NcCifsShare not providing complete list of shares through Powershell.
 

Hi Asulliva,

Sorry for the confusion am pretty new to Netapp.

From ONTAP CLI and GUI,  I am able to validate all the shares and they do exist for  vserver SVM123.

 

From Powershell , I am trying to query the same vserver using Get-NcCifsshare query command. 

 

 

Some parameters are missing from powershell output

 

PS D:\working\scripts> Get-NcCifsShare -vserver inx123456 | select *

 

Acl : {Everyone / Full Control}
AttributeCacheTtl : 
CifsServer : INX123456
Comment : 
DirUmask : 
FileUmask : 
ForceGroupForCreate : 
MaxConnectionsPerShare : 4294967295
NcController : inx.abc.com
OfflineFilesMode : manual
Path : /vol01/ogc/projects/SHELLFR-NDH/02_NDEU Connection Design
ShareName : DFS_02_NDEU Connection Design$
ShareProperties : {oplocks, browsable, changenotify, show_previous_versions}
SymlinkProperties : {symlinks}
Volume : vol01
VscanFileopProfile : standard
Vserver : inx123456
AttributeCacheTtlSpecified : False
DirUmaskSpecified : False
FileUmaskSpecified : False
MaxConnectionsPerShareSpecified : True

 

Acl : {Everyone / Full Control}
AttributeCacheTtl : 
CifsServer : INX123456
Comment : COMMON discipline share for the ASORC project.
DirUmask : 
FileUmask : 
ForceGroupForCreate : 
MaxConnectionsPerShare : 4294967295
NcController : inx.abc.com
OfflineFilesMode : manual
Path : /vol01/ogc/projects/ASORC/Common
ShareName : DFS_ASORC_Common$
ShareProperties : {oplocks, browsable, changenotify, show_previous_versions}
SymlinkProperties : {symlinks}
Volume : 
VscanFileopProfile : standard
Vserver : inx123456
AttributeCacheTtlSpecified : False
DirUmaskSpecified : False
FileUmaskSpecified : False
MaxConnectionsPerShareSpecified : True

 

Acl : {Everyone / Full Control}
AttributeCacheTtl : 
CifsServer : INX123456
Comment : CONTROLS discipline share for the ASORC project.
DirUmask : 
FileUmask : 
ForceGroupForCreate : 
MaxConnectionsPerShare : 4294967295
NcController : inx.abc.com
OfflineFilesMode : manual
Path : /vol01/ogc/projects/ASORC/Controls
ShareName : DFS_ASORC_Controls$
ShareProperties : {oplocks, browsable, changenotify, show_previous_versions}
SymlinkProperties : {symlinks}
Volume : 
VscanFileopProfile : standard
Vserver : inx123456
AttributeCacheTtlSpecified : False
DirUmaskSpecified : False
FileUmaskSpecified : False
MaxConnectionsPerShareSpecified : True

 

 

 

Volume parameter is not returning any value for some shares, which is highlighted above. Please let me know if you have any questions

Any help would be appreciated.

1 ACCEPTED SOLUTION

krishna556

Deleted the target vservers manually and tried to ru nthe script again.

Fixed the issue.

View solution in original post

1 REPLY 1

krishna556

Deleted the target vservers manually and tried to ru nthe script again.

Fixed the issue.

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public