Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


windows:powershell_commands:query_disk_controllers

Differences

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

Link to this comparison view

Next revision
Previous revision
windows:powershell_commands:query_disk_controllers [2016/12/19 15:28]
tplecko created
windows:powershell_commands:query_disk_controllers [2019/10/31 09:06] (current)
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>​
windows/powershell_commands/query_disk_controllers.txt · Last modified: 2019/10/31 09:06 (external edit)