Friday, December 19, 2014

VMware scsicontroller per Windows guest LUN

PS C:\Users\sql_sasquatch> gwmi win32_DiskDrive |
>>   %{gwmi -query "ASSOCIATORS OF {$($_.__RELPATH)} where resultclass = Win32_PnpEntity"} |
>>   %{gwmi -query "ASSOCIATORS OF {$($_.__RELPATH)} where resultclass = Win32_SCSIController"} |
>>   fl __CLASS,__RELPATH.Caption,Description
>>



wmic Get DeviceId,Name,MaxDataWidth,MaxNumberControlled,MaxTransferRate
wmic diskdrive get name,scsiport,scsitargetid

No comments:

Post a Comment