VMware Cloud Community
amarvarudegt
Contributor
Contributor
Jump to solution

new-harddisk to add more than 15 disks per scsicontroller

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}

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

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

Reply
0 Kudos
amarvarudegt
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos