Query all DiskControllers and its associated diskdrives
- |Powershell
$Drives = Get-WmiObject -Class WIN32_DiskDrive -ComputerName . Foreach($Drive in $Drives) { $Drive }
windows:powershell_commands:query_disk_controllers
$Drives = Get-WmiObject -Class WIN32_DiskDrive -ComputerName . Foreach($Drive in $Drives) { $Drive }