NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Network and Storage Protocols

Unable to create cifs share via powershell

Akromat_Eichler
2,822 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
2,635 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
2,649 Views

No one is using Powershell to create shares?

Akromat_Eichler
2,636 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