Automation

 View Only
  • 1.  Add rdms to vm

    Posted Jun 07, 2021 07:25 AM

    HI,

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



  • 2.  RE: Add rdms to vm

    Posted Jun 07, 2021 07:34 AM

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



  • 3.  RE: Add rdms to vm

    Posted Jun 07, 2021 08:05 AM

    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.



  • 4.  RE: Add rdms to vm
    Best Answer

    Posted Jun 07, 2021 08:16 AM

    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.