Hello Marie G,
That message is a built-in prompt from Microsoft that appears in Windows PowerShell 5.1 to encourage upgrading to the newer PowerShell 7. It is not a sign of anything wrong with your system.
There are two ways to get rid of it:
Option 1 — Suppress it without installing anything:
In Windows Terminal, go to Settings > Open JSON file and find the PowerShell profile entry. Add -NoLogo to the commandline field, so it looks something like: "commandline": "powershell.exe -NoLogo" Save the file, restart Windows Terminal, and the message will no longer appear.
Option 2 — Install PowerShell 7:
If you are open to upgrading, installing PowerShell 7 will remove the message permanently since it no longer applies. You can install it via the Microsoft Store by searching for PowerShell, or by running this in your current PowerShell window: winget install Microsoft.PowerShell .
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.