VMware Cloud Community
Haribcs
Contributor
Contributor
Jump to solution

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
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

View solution in original post

0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

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
Jump to solution

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
Jump to solution

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