windows:powershell_commands:query_disk_controllers

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


windows:powershell_commands:query_disk_controllers [2019/10/31 09:06] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Query all DiskControllers and its associated diskdrives ======
  
 +<code powershell |Powershell>$Drives = Get-WmiObject -Class WIN32_DiskDrive -ComputerName .
 +Foreach($Drive in $Drives) { $Drive }</code>