Powershell Script to Gather PC hardware details from existing Computers

Copper Contributor

Hi All, 


I was hoping if someone has done this scenario before. I'm looking for a PowerShell script to gather PC Hardware details in the local network. it's Windows 7,10 and not in DC. 


Details I would like to get from each PC is 

1. RAM (name and size)

2. CPU (name and size)

3. HDD (name and size)

4. Local User profiles


Is it something possible (logically I can't see how it's possible) as PC's are not in a domain. 


Any suggestions would helpful 


Love & Peace 

My fellow humans. 




1 Reply

@mahipundir You can try with WMI, adapt this script to accomplish it. 
Link To Scrip