User Tools

Site Tools


windows:powershell_commands:query_disk_controllers

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.txt · Last modified: 2017/08/10 11:00 (external edit)