I can do this from the VSphere UI, but New-HardDisk only support iSCSI
You will have to use the API methods, have a look at Re: How to create an IDE hard disk instead of SCSI?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello. Thank you for the information. Will this work if you want to use an existing vmdk?
Was that vmdk created as an IDE disk?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes it was. I may have found what I'm after in the device.backing configuration property?
Point to the existing harddisk in $dev.Device.Backing.FileName
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference