Hello,
it's possible to determine Storage type (Clariion, Symmetrix, etc.) with the vml or naa identifiers? exists another way to determine Storage type?
vml.0200000000 60060480000190300919533030304133 53594d4d4554
naa.60060480000190300919533030304133
Thank you in advance.
Best regards!
Yes, that is possible.
You could do something like this
$storageVendors = @{
"60060480"="EMC";
"60050768"="IBM"
}
Get-VMHost MyEsx | Get-ScsiLun |
Select CanonicalName,
@{N="Vendor";E={$storageVendors[$_.CanonicalName.Split('.')[1].SubString(0,8)]}}
You would have to compile a complete table of IDs and vendors of course.
But I'm wondering why you would like to do that, since the information is already present
Get-VMHost MyEsx | Get-ScsiLun |
Select CanonicalName,Vendor
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Yes, that is possible.
You could do something like this
$storageVendors = @{
"60060480"="EMC";
"60050768"="IBM"
}
Get-VMHost MyEsx | Get-ScsiLun |
Select CanonicalName,
@{N="Vendor";E={$storageVendors[$_.CanonicalName.Split('.')[1].SubString(0,8)]}}
You would have to compile a complete table of IDs and vendors of course.
But I'm wondering why you would like to do that, since the information is already present
Get-VMHost MyEsx | Get-ScsiLun |
Select CanonicalName,Vendor
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks LucD. You are absolutely right. I had not thought to obtain the "Vendor" directly.
Thank you