amarvarudegt
Contributor
Contributor

new-harddisk to add more than 15 disks per scsicontroller

Jump to solution

the max disks per controller has changed from 15 to 64. I am trying to add more than 60 disks to a a vm. I am able to add it thru UI but not thru powercli. Am I missing something here?

 

1..252 | %{ get-vm <vmnamed> | New-HardDisk -CapacityGB 1 -Confirm:$false}

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership

Obviously, the New-Harddisk cmdlet still has a built-in limit of 15 harddisks per controller.
You can open an SR to report this.
And perhaps also enter this on the PowerCLI Ideas website.

As a temporary bypass use the ReconfigVM method.
There you can use the new maxima.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership

Obviously, the New-Harddisk cmdlet still has a built-in limit of 15 harddisks per controller.
You can open an SR to report this.
And perhaps also enter this on the PowerCLI Ideas website.

As a temporary bypass use the ReconfigVM method.
There you can use the new maxima.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
amarvarudegt
Contributor
Contributor

Perfect! Thank you LucD, I wanted to check with the community before going the bug route 

0 Kudos