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.
To learn more, please review the information in this blog post.

Microsoft Virtualization Discussions

Creating CIFS server in cDot with Powershell?

DARREN_REED
5,664 Views

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

 

2 REPLIES 2

asulliva
5,656 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,649 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