Handy PowerShell patterns for laptop/desktop repair and light IT work (run elevated when needed).
Inventory
- Get-ComputerInfo | Select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer
- Get-PhysicalDisk | Format-Table FriendlyName, MediaType, Size, HealthStatus
- Get-NetAdapter | Where Status -eq Up
Health / repair helpers
- Repair-Volume -DriveLetter C -Scan
- DISM /Online /Cleanup-Image /RestoreHealth (from elevated cmd/PowerShell)
- sfc /scannow
Services & startup noise
- Get-Service | Where Status -ne Running | Select Name, Status, StartType
- Get-CimInstance Win32_StartupCommand | Select Name, Command, Location
Network quick checks
- Test-NetConnection 1.1.1.1 -Port 443
- Get-DnsClientServerAddress -AddressFamily IPv4
Tip: prefer read-only discovery first, then change. Paste outputs (redact serials/usernames) when asking for help on the forum.
Windows & PowerShell
PowerShell everyday commands for repair techs
Board: Windows / Server · 49 views · Solved
Repair forum
Board-level discussion, BIOS library, and mail-in repair.
Free diagnostic
Return shipping £15
)),
'compact' => true,
])
Sign in to reply.