The PowerShell function in this gist is designed to display the system status of a Windows machine. It provides information about the operating system, hardware, and other relevant details. The function can be used to quickly gather and display important system information in a user-friendly format. This function requires PowerShell 7 and a Windows platform.
Save all files to the same directory. Dot source the ps1 file.
. .\Show-SystemStatus.ps1