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.

Microsoft Virtualization Discussions

Creating CIFS server in cDot with Powershell?

DARREN_REED
5,662 Views

What is(are) the powershell equivalent(s) to using "cifs create -vserver acmeinc -cifs-server ACMEINC ..."?

 

2 REPLIES 2

asulliva
5,654 Views
I did some PowerShell examples at the below, hopefully they are helpful.

http://practical-admin.com/blog/netapp-powershell-toolkit-101-storage-virtual-machine-configuration/

Andrew
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

DARREN_REED
5,647 Views

From your blog the answer appears to be:

 

Add-NcCifsServer -VserverContext $svmName `-Domain $domainName -AdminCredential (Get-Credential)

 

... I didn't think of it as "Adding" a CIFS server but there you go.

 

Public