Active IQ Unified Manager Discussions

Stop CIFS server Command in WFA

roi_becidan
3,413 Views

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.

1 ACCEPTED SOLUTION

david_ovenden
3,403 Views

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

 

 

 

 

View solution in original post

2 REPLIES 2

david_ovenden
3,404 Views

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

 

 

 

 

roi_becidan
3,396 Views

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.

Public