Last active
July 11, 2025 01:47
-
-
Save jerryc05/52d7ff92843497be774b3da602471e2b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-CimInstance -ClassName Win32_Processor | Select-Object -Property Name, NumberOfCores, NumberOfLogicalProcessors | Format-List; (Get-ItemProperty -Path "HKLM:\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0*" -Name "HardwareInformation.AdapterString", "HardwareInformation.qwMemorySize" -Exclude PSPath -ErrorAction SilentlyContinue) | ForEach-Object { [PSCustomObject] @{ Model=$_."HardwareInformation.AdapterString"; "VRAM (GB)"=[math]::round($_."HardwareInformation.qwMemorySize"/1GB) } }; Get-CimInstance -ClassName Win32_PhysicalMemory | Select-Object @{Name='Mem (GB)'; Expression={$_.Capacity / 1GB}}, Speed | Sort-Object | Format-Table -AutoSize; Get-CimInstance MSFT_PhysicalDisk -Namespace Root\Microsoft\Windows\Storage | select Model, MediaType, SpindleSpeed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment