Microsoft Virtualization Discussions

Add disks to aggr with powershell

drwoodberry
2,703 Views

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
2,703 Views

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

Add-NaAggr -Name aggr0 -diskcount 11

done like dinner.

Public