Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Get SVM/vserver allowed protocols via Powershell, no Get-NcVserverProtocol

2018-07-13
01:35 AM
4,073 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! See The Solution
1 ACCEPTED SOLUTION
uptimenow has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
1 REPLY 1
uptimenow has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
