Forum Discussion
ddegraw
Mar 18, 2022Copper Contributor
Powershell to extract physical memory from Intune joined devices
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?
- Could you share it? Perhaps the same thing (https://techcommunity.microsoft.com/t5/microsoft-intune/physicalmemoryinbytes-always-returns-0/m-p/3025721#M8556), do you also query the hardwareinformation?
- ddegrawCopper Contributor
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.