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 }
Enter your comment:
J Y P T X
 
  • windows/powershell_commands/query_disk_controllers.txt
  • Last modified: 2019-10-31 09:06
  • (external edit)