Microsoft Virtualization Discussions

Add disks to aggr with powershell

drwoodberry

This may seem like a joke question but how do I add disks to an aggregate from powershell. From the command line I just do (aggr agg aggr1 11) if I want to add 11 disks to an aggregate. How can I script this?

1 REPLY 1

drwoodberry

Nevermind, I got it...just a brain fart.

Add-NaAggr -Name aggr0 -diskcount 11

done like dinner.

Announcements
Register for Insight 2021 Digital

INSIGHT 2021 Digital: Meet the Specialists 2

On October 20-22, gear up for a fully digital, totally immersive virtual experience with a downright legendary lineup of world-renowned specialists. Tune in for visionary conversations, solution deep dives, technical sessions and more.

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