How to remove the PowerShell update message in Terminal and PowerShell

This tutorial teaches you how to remove the 'Install the latest PowerShell for new features and improvements!' message in Terminal or PowerShell in Windows 11.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

Follow the steps in this tutorial if the PowerShell update message still appears after updating PowerShell.

Step-by-step instructions

  1. Open Windows Terminal.
    Open Windows Terminal
  2. Click on the drop-down arrow located next to the tabs.
  3. Click Settings.
    Open Windows Terminal settings
  4. Click on Open JSON file located in the bottom left corner of the Terminal window.
    Open Windows Terminal settings JSON file
  5. In the 'Profiles' section of the settings.json file, change "commandline": "powershell.exe" to "commandline": "powershell.exe -NoLogo".
    Remove PowerShell update message
  6. Save the changes.
    Save settings JSON file
  7. Close the settings.json file.
    Close settings JSON file
  8. Close Windows Terminal.
  9. Open Windows Terminal or PowerShell to verify the change. The update notification should now be completely gone.

Related:

How to open CMD in a folder as administrator on Windows 11


Windows


References:

https://answers.microsoft.com/en-us/windows/forum/all/install-the-latest-powershell-for-new-features-and/39423e9b-d3f0-4e4f-b260-3b12e2fe7571