Reputation: 9926
I trying to get all the SATA hardware devices that connected.
How can i do it ?
Upvotes: 0
Views: 281
Reputation: 29722
Get-WMIObject -Class Win32_DiskDrive | Select Caption
You can pull the drive type from the resulting output.
Upvotes: 3