Microsoft Virtualization Discussions

Set NaOption Wins Servers


Can anyone tell me if I'm doing something wrong?

I'm trying to add 2 wins server IP addresses, the command I'm using is

Set-NaOption cifs.wins_servers,

Which gives me an error, all the other options work.

Thanks in advance for any help.


Re: Set NaOption Wins Servers

PowerShell is interpreting the comma as an array, and as such is passing a collection object instead of a string… just add quotes. [0:45]≥ Set-NaOption -OptionName cifs.wins_servers -OptionValue,

Set-NaOption : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'OptionValue'.


Specified method is not supported. [0:46]≥ Set-NaOption -OptionName cifs.wins_servers -OptionValue ","

ClusterConstraint                       Name                                    Value

-----------------                       ----                                    -----

none                                    cifs.wins_servers             ,

View solution in original post

Cloud Volumes ONTAP
Review Banner
All Community Forums