Microsoft Virtualization Discussions

Set-NaCifsShareAcl on Data ONTAP 8.0.x or later

kjake
2,561 Views

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
2,561 Views

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

cknight
2,562 Views

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

kjake
2,561 Views

Hello Clinton,

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

Invoke-NaShh is really helpful for us.

Thank you,

-jake-

Public