Quantcast
Channel: PowerShell
Viewing all articles
Browse latest Browse all 15370

Powershell to Get Remote Computer Media Type

$
0
0

Hello Spiceheads,

Thank you in advance because 90% of my questions have been answered in the SW Community.

Here is the deal. I have been tasked to find out which computers on the domain (roughly 150) have SSD's installed. A majority of them do, but there are a lot that do not.

I have found that the PS command on my computer:

'Get-PhysicalDisk | select FriendlyName,BusType,MediaType' will return:

FriendlyName BusType MediaType
------------ ------- ---------
SK hynix SC311 SATA 128GB SATA SSD

This is exactly what I am looking for, but I need to be able to do this remotely on domain connected computers. Will I need to have PS remote access enabled on the remote computers or can it be done without that? Even CMD line would be good for me in this situation.

I am by no means proficient with PS and any help would be appreciated......


Viewing all articles
Browse latest Browse all 15370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>