Subscribe
Accepted Solution

Powershell Cifs Setup alternate server name

[ Edited ]

Does any one know if it's possible to setup cifs using powershell with an other CIFS servername than the vfiler name? I can not find this option.

 

Thanks in advance

Re: Powershell Cifs Setup alternate server name

Does this not work -

 

Set-NaCifs [-CifsServer]

Re: Powershell Cifs Setup alternate server name

That should be the case if but i can not connect to the vfiler adress for management. So i've to do this trhough the fysical filers connection. I will try to make it little bit more clear what i'm trying to do.

 

In the production network wa've an vfiler vfcc003 with adress 10.1.2.3 in ipspace prod and the windows name is also vfcc003, we need an clone to an test dev network with the same ipadresses and names for windows.

So i've created an new vfiler vfcc003-dev with adress 10.1.2.3 in ipspace dev the Active directory will also be copied on a regular base from production to the test dev environment so i need to rerun the cifs setup again. Because the test dev network is using the adresses but in different vlans i can not access the destination vfiler from the scripting host.

Re: Powershell Cifs Setup alternate server name

Hi i found the option -vfiler under connect-nacontroller that did the trick

Connect-NaController -Name fysical filer name -Vfiler vfiler name