Pages: [1]
Print
Author Topic: List guest and its scsi controller type  (Read 841 times)
esarakaitis
Administrator
Full Member
*****
Posts: 218


8223109 sack57@hotmail.com littleking57 rootinfortwayne
View Profile WWW Email
« on: January 14, 2009, 07:47:42 AM »

Code:
$hostinfo=get-datacenter "DATACENTER" | get-vmhost
$hostinfo | % {
    $hostview = get-view $_.id
$hostview1.config.storagedevice.scsilun | % { `
$lunname=$_.canonicalname
$vendor=$_.vendor
"" | select @{name="LunName"; expression={$lunname}}, @{name="Vendor"; expression={$vendor}}
}
}
Logged
Pages: [1]
Print
Jump to: