Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 231085

Re: How do you add an existing rdm to a VM using New-HardDisk?

$
0
0

Change the construction of the $lunTab something like this

 

$lunNAA='naa.60050768011083af1800000000000071','naa.60050768011083af1800000000000072'

$lunTab= @{}

 

Get-VMHost-Name$esxName|Get-ScsiLun-LunTypedisk|

  where{$lunAAA-contains$_.CanonicalName}

  $lunTab.Add($_.CanonicalName,$_.ConsoleDeviceName)

}

 


Viewing all articles
Browse latest Browse all 231085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>