Powershell Script to Gather PC hardware details from existing Computers

%3CLINGO-SUB%20id%3D%22lingo-sub-1171420%22%20slang%3D%22en-US%22%3EPowershell%20Script%20to%20Gather%20PC%20hardware%20details%20from%20existing%20Computers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1171420%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20hoping%20if%20someone%20has%20done%20this%20scenario%20before.%20I'm%20looking%20for%20a%20PowerShell%20script%20to%20gather%20PC%20Hardware%20details%20in%20the%20local%20network.%20it's%20Windows%207%2C10%20and%20not%20in%20DC.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDetails%20I%20would%20like%20to%20get%20from%20each%20PC%20is%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20RAM%26nbsp%3B(name%20and%20size)%3C%2FP%3E%3CP%3E2.%20CPU%26nbsp%3B(name%20and%20size)%3C%2FP%3E%3CP%3E3.%20HDD%20(name%20and%20size)%3C%2FP%3E%3CP%3E4.%20Local%20User%20profiles%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20it%20something%20possible%20(logically%20I%20can't%20see%20how%20it's%20possible)%20as%20PC's%20are%20not%20in%20a%20domain.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20suggestions%20would%20helpful%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELove%20%26amp%3B%20Peace%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20fellow%20humans.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1171420%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1172734%22%20slang%3D%22en-US%22%3ERe%3A%20Powershell%20Script%20to%20Gather%20PC%20hardware%20details%20from%20existing%20Computers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1172734%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F396090%22%20target%3D%22_blank%22%3E%40mahipundir%3C%2FA%3E%26nbsp%3BYou%20can%20try%20with%20WMI%2C%20adapt%20this%20script%20to%20accomplish%20it.%26nbsp%3B%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgallery.technet.microsoft.com%2Fscriptcenter%2FGet-PC-Basic-Data-and-Save-8c694ae7%3Fredir%3D0%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ELink%20To%20Scrip%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EErick%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional 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

 

Regards

Erick