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

Re: Add disks to aggr with powershell

drwoodberry

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

Add-NaAggr -Name aggr0 -diskcount 11

done like dinner.

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public