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