Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
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

DataOntap Powershell get-navol command


Hi All,


I am trying to fetch the volume available space from the command get-NaVol.


$vol1=get-navol -name <volname> | select sizeavailable


It give the results


sizeavailable: 982983454


But I am not able to get the numeric value. Can this be truncated to just values?


Actually I am trying to compare two volume free spaces.


Please HELP me on this.






This is because you are specifically calling our a property...


You need to use the convertto-formattednumber cmdlet



Try this.


convertto-formattednumber (get-navol -name <volname>).sizeavailable datasize "0.0"




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