Microsoft Virtualization Discussions

Highlighted

Add disks to aggr with powershell

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
Highlighted

Re: Add disks to aggr with powershell

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

Add-NaAggr -Name aggr0 -diskcount 11

done like dinner.

Check out the KB!
Knowledge Base
All Community Forums