Powershell to extract physical memory from Intune joined devices

New Contributor

I found a powershell script that extracts hardware information from Intune joined devices, however, the physicalMemoryInBytes that appears in the output file displays a 0.  I've found suggestions on getting it to show the correct memory but they haven't worked.  Any ideas?

2 Replies

@Harm_Veenstra 

 

Unfortunately the snippet of code I have is the exact same thing.  Thanks for trying though.  Doesn't look like MS has a true and tried method as of yet.