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

Total sizes of aggrs and all disks..

JGPSHNTAP

Ok, so i either have a brainfreeze or there isn't an easier way to do this.

basically, sum up all the aggregates total, available and sum up total raw capacity. 

Total size =  ([system.math]::floor((get-naaggr | measure -sum Totalsize).sum/1gb))

Total Available = ([system.math]::floor((get-naaggr | measure -sum available).sum/1gb))

Raw Disk =  ([system.math]::floor((get-nadisk | ? {$_.status -ne "partner"} | measure -sum usedspace).sum/1gb))

Is this the only way?

1 REPLY 1

JGPSHNTAP

One more, total volumes allocated - ([system.math]::round((get-naaggrspace | measure -sum sizevolumeallocated).sum/1gb,2))

I assume that adds up thin provisioned as well, i'm going to check that in the lab

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