Hi there
I got the following working 100% for my entire DC but need to show datastore name if in use or RDM assigment for every SCSI Lun in adition. Please can someone guide me in the right direction.
Current query:
Get-VMHost | ForEach-Object {
$VMHost = $_
$VMHost | Get-ScsiLun | Where-Object {$_.CanonicalName -like 'naa.6006*'} | `
Select-Object -Property @{N="VMHostName";E={$VMHost.Name}},CanonicalName,MultipathPolicy
}
This is to perform a emergency array powerdown and need to show impact
Thanks
Johan
Have a look at my LUN report – datastore, RDM and node visibility post.
In there I use hash tables to look up the datastore from the LUN
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Have a look at my LUN report – datastore, RDM and node visibility post.
In there I use hash tables to look up the datastore from the LUN
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Luc
Thank you very much, This was 100% what i was looking for.
Johan