VMware Cloud Community
cmichals
Contributor
Contributor
Jump to solution

Trying to add a disk to a vm and attaching it to existing SCSI Controller with specific SCSI ID

I am trying to add a disk to a vm which I need it to go to an existing SCSI Controller but I need to assign a specific SCSI ID

For example  Add Hard disk to SCSI controller 2 but I need to SCSI ID to be 2:5

I can get the new Hard Disk to go to SCSI Controller 2 but it just takes the next available SCSI ID

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

You can change the HD unitnumber with the ReconfigVM method.
See for example Re: Automate add Windows Hard Disk - VMware Technology Network VMTN


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

You can change the HD unitnumber with the ReconfigVM method.
See for example Re: Automate add Windows Hard Disk - VMware Technology Network VMTN


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

Reply
0 Kudos
cmichals
Contributor
Contributor
Jump to solution

Thank you so much!!  This was the info I needed. Script works like a charm now.

Reply
0 Kudos