Subscribe
Accepted Solution

Set-NaCifsShareAcl on Data ONTAP 8.0.x or later

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-

Re: Set-NaCifsShareAcl on Data ONTAP 8.0.x or later

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

Re: Set-NaCifsShareAcl on Data ONTAP 8.0.x or later

Hello Clinton,

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

Invoke-NaShh is really helpful for us.

Thank you,

-jake-