How to Check Windows 11 Compatibility Using PowerShell

With the release of Windows 11, Microsoft introduced new system requirements to ensure a smoother and more secure user experience. However, these requirements have left many users wondering if their current systems are compatible. To simplify this process, I've created a PowerShell script that checks your system's compatibility with Windows 11 and provides color-coded feedback for easy interpretation.


Why PowerShell

PowerShell is a powerful scripting language built into Windows, making it accessible to anyone with a Windows machine. It allows you to automate tasks and retrieve system information efficiently. By leveraging PowerShell, we can create a script that checks key Windows 11 requirements and provides immediate feedback.

The Script

Here's the complete PowerShell script that checks various Windows 11 compatibility requirements.


What Does the Script Do?

  1. Color-Coded Output: The Write-ColorOutput function prints messages in green if the check passes and in red if it fails, making it easy to spot issues.
  2. Secure Boot Status: Checks if Secure Boot is enabled.
  3. TPM Version: Verifies if TPM 2.0 is present, which is a crucial requirement for Windows 11.
  4. CPU Compatibility: Retrieves CPU details. (Note: The actual compatibility check against Microsoft's list is not implemented in this script. For now, it assumes the CPU passes the check.)
  5. RAM Check: Ensures the system has at least 4 GB of RAM.
  6. Storage Check: Verifies that each drive has at least 64 GB of used space.
  7. System Firmware Type: Confirms that the system firmware type is UEFI, which is required for Windows 11.

Running the Script

To run this script:

Open PowerShell as an Administrator.
Copy and paste the script into the PowerShell window.
Press Enter to execute.

The script will provide immediate feedback on your system's compatibility with Windows 11.








Post a Comment

0 Comments