Eureka Moment Wiki

One eureka moment at the time

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 }

Discussion

Enter your comment:
D H F᠎ Q Y
 
windows/powershell_commands/query_disk_controllers.txt · Last modified: 2019/10/31 09:06 (external edit)