Subscribe
Accepted Solution

Stop CIFS server Command in WFA

[ Edited ]

Hi All,

 

I'm trying to create a WFA command using PowerShell for stopping the CIFS server on a specific SVM.

 

Apparently, there is no such command in the DataOnTap PowerShell Toolkit for stopping the CIFS server.

 

Does anyone have an idea?

 

 

Roi Becidan.

Re: Stop CIFS server Command in WFA

Hi,

 

I'm not sure about WFA, but I believe there are Powershell commands for stopping and starting the CIFS service, depending on the version of Data ONTAP you are running;

 

7-mode:

 

Disable-NaCifs

Enable-NaCifs

 

cDoT;

 

Start-NcCifsServer

Stop-NcCifsServer

 

 

 

 

Re: Stop CIFS server Command in WFA

Thanks,

 

I found out that my powershell toolkit release was too old and these commands were not there.

 

After updating to version 3.1 I found the command you mentioned above.

 

Thanks Alot!

 

Roi.