riahc3
Contributor
Contributor

Add passthrough RDM external eSATA drive to a ESXi VM using PowerCLI?

Hello Im trying to script using PowerCLI and part of that script is adding a external eSATA drive as a passthrough RDM. I can create it using vmkfstools -z but what I am currently missing is create the new SCSI controller, attaching the file I created with vmkfstools -z and then attaching that to the virtual machine. How can I do this part using PowerCLI? Or even SSH....I can call SSH thru Powershell so that would be a solution as well. Thank you

0 Kudos
1 Reply
LucD
Leadership
Leadership

0 Kudos