Microsoft Virtualization Discussions

Get SVM/vserver allowed protocols via Powershell, no Get-NcVserverProtocol

uptimenow

Hi,

 

Powershell newbie here ...

 

I am trying to enumerate the available protocols on a number of SVMs on a large group of clusters, but it looks like there is no "Get-NcVserverProtocol" that would easily let me do this. There is a 7-mode Get-NaVfilerProtocol.

 

How would one go about obtaining this information using Powershell ?

Am I overlooking something ?

 

Thanks in advance!

1 ACCEPTED SOLUTION

JohnChampion

That is odd that cmdlet is not available - you could try something like this ...

 

Command:

 

Get-NcVserver | Where { $_.VserverType -eq "data" } | foreach { $v=$_.Vserver; $p=$_.AllowedProtocols; "$v `t $p" }

 

Sample Output:

 

BTS_NAS     nfs cifs fcp iscsi ndmp
BTS_SAN     nfs cifs fcp iscsi ndmp

 

Adjust as needed

View solution in original post

1 REPLY 1

JohnChampion

That is odd that cmdlet is not available - you could try something like this ...

 

Command:

 

Get-NcVserver | Where { $_.VserverType -eq "data" } | foreach { $v=$_.Vserver; $p=$_.AllowedProtocols; "$v `t $p" }

 

Sample Output:

 

BTS_NAS     nfs cifs fcp iscsi ndmp
BTS_SAN     nfs cifs fcp iscsi ndmp

 

Adjust as needed

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public