Hi there,
DataProtocol is an (get;set) Option of get-ncnetinterface
PS C:\Users\oroemisc\My Documents> Get-NcNetInterface -Name cifs_admin_lif1 -Vserver cifs | gm
TypeName: DataONTAP.C.Types.Net.NetInterfaceInfo
Name MemberType Definition
---- ---------- ----------
.
.
DataProtocols Property string[] DataProtocols {get;set;}
.
I need to add CIFS to it, currently it is "none" because it was a management only LIF before.
So i used
( Set-NcNetInterface -Vserver cifs -Name cifs_admin_lif1 ).DataProtocols = "cifs"
but this doesn't change the value.
I think it is more a "PowerShell lack of knowledge" from me than an CMDLet misbehaviour...
Any help appreciated.
Regards
Oli