Here is a PowerShell script that runs a full system hardware checkup:
```
# Run a full system hardware checkup
# Check CPU information
Write-Host "CPU Information:"
Get-WmiObject -Class Win32_Processor | Select-Object
Name,DeviceID,Manufacturer,MaxClockSpeed
# Check Memory (RAM) information
Write-Host "Memory Information:"
Get-WmiObject -Class Win32_PhysicalMemory | Select-Object DeviceID,Capacity,Speed
# Check Disk information
Write-Host "Disk Information:"
Get-WmiObject -Class Win32_DiskDrive | Select-Object DeviceID,Model,Size
# Check Network Adapter information
Write-Host "Network Adapter Information:"
Get-WmiObject -Class Win32_NetworkAdapter | Select-Object DeviceID,Name,Speed
# Check Graphics Card information
Write-Host "Graphics Card Information:"
Get-WmiObject -Class Win32_VideoController | Select-Object
DeviceID,Name,DriverVersion
# Check Sound Card information
Write-Host "Sound Card Information:"
Get-WmiObject -Class Win32_SoundDevice | Select-Object DeviceID,Name,DriverVersion
# Check BIOS information
Write-Host "BIOS Information:"
Get-WmiObject -Class Win32_BIOS | Select-Object Manufacturer,Version,ReleaseDate
# Check Power Supply information
Write-Host "Power Supply Information:"
Get-WmiObject -Class Win32_PowerSupply | Select-Object
DeviceID,Manufacturer,MaxPowerOutput
# Check Thermal Zone information (temperature sensors)
Write-Host "Thermal Zone Information:"
Get-WmiObject -Class Win32_ThermalZone | Select-Object DeviceID,Temperature
# Check Battery information (if laptop)
Write-Host "Battery Information:"
Get-WmiObject -Class Win32_Battery | Select-Object DeviceID,Manufacturer,Capacity
```
This script uses the `Get-WmiObject` cmdlet to query various WMI (Windows
Management Instrumentation) classes to retrieve information about different
hardware components. You can customize the script to include or exclude specific
hardware components as needed.
To run the script, save it to a file (e.g., `hardware_checkup.ps1`) and execute it
in PowerShell:
```
.\hardware_checkup.ps1
```
Note: You may need to run PowerShell as an administrator to access some of the WMI
classes.