Microsoft Virtualization Discussions

Set-NaCifsShareAcl on Data ONTAP 8.0.x or later

kjake

Hello,

My customer is implementing VDI system on Data ONTAP 8.0.2 7-mode by Powershell toolkit

We've tested all customer requirements except 'Set-NaCifsShareAcl'.

I've read another subject "Unabe to find API with cmdlet Set-NaCifsShareAcl", it said the powershell toolkit supports only 7.3.3 or later.

Do you have any plan to support 8.0.x or later?

Can I convert ontap cmd to powershell script, If possible?

Best regards,

-Jake-

1 ACCEPTED SOLUTION

cknight

Hello, Jake.  It seems that while the long-awaited network APIs are in 8.0.2, the CIFS share ACL APIs are not.  They do appear to be in 8.1 (7-mode).

In the meantime, you should be able to accomplish what you need using Invoke-NaSsh:

PS C:\> Invoke-NaSsh cifs shares

Name         Mount Point                       Description

----         -----------                       -----------

ETC$         /etc                              Remote Administration

                        BUILTIN\Administrators / Full Control

HOME         /vol/vol0/home                    Default Share

                        everyone / Full Control

C$           /                                 Remote Administration

                        BUILTIN\Administrators / Full Control

View solution in original post

2 REPLIES 2

kjake

Hello Clinton,

After upgrading to 8.1RC1 7-mode, It works well.

Invoke-NaShh is really helpful for us.

Thank you,

-jake-

cknight

Hello, Jake.  It seems that while the long-awaited network APIs are in 8.0.2, the CIFS share ACL APIs are not.  They do appear to be in 8.1 (7-mode).

In the meantime, you should be able to accomplish what you need using Invoke-NaSsh:

PS C:\> Invoke-NaSsh cifs shares

Name         Mount Point                       Description

----         -----------                       -----------

ETC$         /etc                              Remote Administration

                        BUILTIN\Administrators / Full Control

HOME         /vol/vol0/home                    Default Share

                        everyone / Full Control

C$           /                                 Remote Administration

                        BUILTIN\Administrators / Full Control

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.

Public