You can use the New-Harddisk cmdlet with the DeviceName parameter.
See example 2
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
You can use the New-Harddisk cmdlet with the DeviceName parameter.
See example 2
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hey LucD thanks for the help, but can we also do this via making an ssh connection to esxi ?
Although I have no experience in doing it that way, it should be possible.
Have a look at Re: Hot add RDM to a VM NOT using windows powershell
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I am trying the command line argument :
vim-cmd vmsvc/device.diskaddexisting VMID path_to disk/rdm1.vdmk 0 1
but i am getting an error saying
Reconfigure Failed
can somebody guide me with what am I doing wrong ??
Thanks in advance!!
Thread moved to the CLI Community
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference