The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

list fractional_reserve

JSHACHER11

Hi guys,

I am trying to get a list of volumes with FR enabled (100%)

this did not get me anywhere:

Get-navol | Get-NaVolOption | where {$_.name -like "fractional_reserve" -and $_.value -eq "100"} | select name | ft -Autosize

any ideas?

Thank you

1 ACCEPTED SOLUTION

billyd

This worked for me:

$vol = get-navol | select name;foreach ($v in $vol){get-navoloption -name $v.Name | where-object {$_.Name -eq "fractional_reserve" -and $_.Value -eq "100"} | select @{n="Volume";e={$v.Name}},name,value}

View solution in original post

5 REPLIES 5

billyd

This worked for me:

$vol = get-navol | select name;foreach ($v in $vol){get-navoloption -name $v.Name | where-object {$_.Name -eq "fractional_reserve" -and $_.Value -eq "100"} | select @{n="Volume";e={$v.Name}},name,value}

View solution in original post

JSHACHER11

YES!

thank you

JGPSHNTAP

I had some time to play with this as well

Let me know if this works with the same results

get-navol | % {

if (get-navoloption $_.name | ? {$_.name -eq "fractional_reserve" -and $_.value -eq "100"}) {

write-host $_.name

}

}

I'm not building a select statement with expressions, but im curious to see if this is the same result


JSHACHER11

Yup. that worked too

Josh, if you have time this weekend see what what you can do about that:

https://communities.netapp.com/message/131469#131469

cheers

JGPSHNTAP

did I just get a homework assignment 🙂

if I get some time to play with that cmdlet

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