Network and Storage Protocols

Unable to create cifs share via powershell

Akromat_Eichler
1,019 Views

Hi,

 

i use PowerShell Library NetApp.ONTAP 9.11.1.2208 and im succesfull connected.

 

Now i want to create a share and always got this error:

 

 

Add-NcCifsShare -Name Scan  -Path vol_Daten/Scan

 

error is: 

Add-NcCifsShare : HomeDirectory parameter specified, which is not supported for ONTAPI call

 

I try many other options but nothing works. My target is 9.7P19

 

Any ideas? Thanks in advance

 

 

1 ACCEPTED SOLUTION

Akromat_Eichler
832 Views

Then I'll answer my own question.
The problem is was Powershell NetApp.Ontap version 9.11.1.2208. After downgrade to version 9.10.1.2111 creating a CIFS share works without problems.
Should you test software yourself before release? But there are also cooks who do not taste their own food...

View solution in original post

2 REPLIES 2

Akromat_Eichler
850 Views

No one is using Powershell to create shares?

Akromat_Eichler
833 Views

Then I'll answer my own question.
The problem is was Powershell NetApp.Ontap version 9.11.1.2208. After downgrade to version 9.10.1.2111 creating a CIFS share works without problems.
Should you test software yourself before release? But there are also cooks who do not taste their own food...

Public