Haribcs
Contributor
Contributor

Add rdms to vm

HI,

i have to add 100 rdm luns(naa.XXXX) to multiple vms. Please help me to get this completed.

0 Kudos
3 Replies
LucD
Leadership
Leadership

You can use the New-Harddisk cmdlet with the DeviceName parameter.


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

0 Kudos
Haribcs
Contributor
Contributor

Hi Luc,

 

Thanks for the swift response, i would like to specify the controller and unit number. I do not see any switch for unit number in the new-harddisk command.

0 Kudos
LucD
Leadership
Leadership

That was not in your original question.

That can be done, but then you will have to use an API method.
Use the Search option in this community, there are quite a few examples available in here.


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

0 Kudos