Created
April 24, 2026 01:49
-
-
Save langheran/115188ec00e9f2ae46bda1853de0e606 to your computer and use it in GitHub Desktop.
C:\Users\NisimHurst\Home\scripts\view_ram.ps1
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
| Write-Host "RAM física:" -ForegroundColor Cyan | |
| Get-WmiObject Win32_PhysicalMemory | Select-Object Manufacturer, Capacity, Speed, PartNumber | Format-Table -AutoSize | |
| Write-Host "`nGPU (VRAM):" -ForegroundColor Cyan | |
| Get-CimInstance -ClassName Win32_VideoController | ForEach-Object { | |
| [PSCustomObject]@{ | |
| Nombre = $_.Name | |
| VRAM_GB = [Math]::Round($_.AdapterRAM / 1GB, 2) | |
| } | |
| } | Format-Table -AutoSize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment