Active IQ Unified Manager Discussions

seeking wf to set options on all filer volumes?

stephen2

IHAC that wants to select a filer and set options on every volume (except vol0)

Anyone have anything like that? I know it involves looping which I have not used yet

1 REPLY 1

bdave

Here's a command you could throw in a workflow...

It's identical to the one in the Day-0 example workflow I posted here:

https://communities.netapp.com/docs/DOC-20088

but it avoids vol0 as your customer is looking for.

(

Using

Get-NaVol | Where-Object { $_.Name -ne "vol0" } | Set-NaVolOption -key "$OptionName" -value "$OptionValue"

instead of just

Get-NaVol | Set-NaVolOption -key "$OptionName" -value "$OptionValue"

)

Hope this helps,

Dave

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