Subscribe
Accepted Solution

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

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!

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

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