paradroid01

Get-FullSystemInfo.ps1

Sep 19th, 2025
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. # Comprehensive System Hardware and Driver Info Script
  2. # Run in an elevated (admin) PowerShell session for full results.
  3. # Outputs will be saved to "SystemHardwareReport.txt" on your Desktop.
  4.  
  5. $report = "$env:USERPROFILE\Desktop\SystemHardwareReport.txt"
  6.  
  7. "===== WINDOWS VERSION & SYSTEM INFO =====" | Tee-Object $report
  8. Get-ComputerInfo | Tee-Object -Append $report
  9.  
  10. "`n===== CPU INFO =====" | Tee-Object -Append $report
  11. Get-CimInstance Win32_Processor | Format-List * | Tee-Object -Append $report
  12.  
  13. "`n===== MEMORY (RAM) INFO =====" | Tee-Object -Append $report
  14. Get-CimInstance Win32_PhysicalMemory | Format-List * | Tee-Object -Append $report
  15.  
  16. "`n===== MOTHERBOARD INFO =====" | Tee-Object -Append $report
  17. Get-CimInstance Win32_BaseBoard | Format-List * | Tee-Object -Append $report
  18.  
  19. "`n===== BIOS INFO =====" | Tee-Object -Append $report
  20. Get-CimInstance Win32_BIOS | Format-List * | Tee-Object -Append $report
  21.  
  22. "`n===== STORAGE (DISKS/DRIVES) =====" | Tee-Object -Append $report
  23. Get-CimInstance Win32_DiskDrive | Format-List * | Tee-Object -Append $report
  24.  
  25. "`n===== GRAPHICS (GPU) =====" | Tee-Object -Append $report
  26. Get-CimInstance Win32_VideoController | Format-List * | Tee-Object -Append $report
  27.  
  28. "`n===== NETWORK ADAPTERS =====" | Tee-Object -Append $report
  29. Get-CimInstance Win32_NetworkAdapter | Format-List * | Tee-Object -Append $report
  30.  
  31. "`n===== INSTALLED DRIVERS =====" | Tee-Object -Append $report
  32. Get-WmiObject Win32_PnPSignedDriver | Select DeviceName, DriverVersion, Manufacturer, DriverDate | Format-Table -AutoSize | Out-String | Tee-Object -Append $report
  33.  
  34. "`n===== ALL DEVICES (Device Manager) =====" | Tee-Object -Append $report
  35. Get-CimInstance Win32_PnPEntity | Select-Object Name, Manufacturer, Status, DeviceID | Format-Table -AutoSize | Out-String | Tee-Object -Append $report
  36.  
  37. Write-Host "== System Hardware Report generated at $report =="
  38.  
Tags: powershell
Advertisement
Add Comment
Please, Sign In to add comment