If you are using a Windows operating system, you have likely used the latest Windows PowerShell at least once.

Whenever you open PowerShell using Windows Terminal, you get a text message inside the terminal which shows the PowerShell version, the link to download the latest PowerShell, and so on.

Image

Sometimes this can be annoying, and you might want to remove that text so that message never appears again. There is a way to do that, and in this article I will show you how you can remove the starting text from the terminal once and for all! ✌️

Firstly, open PowerShell in Windows Terminal. You will get the starting text as usual.

Image

Click the drop down button to get the menu under it.

Image

Go to Settings.

Image

You will get an interface like below:

Image

Click Open JSON file.

Image

The JSON fill will be opened in a text editor. For me, it is Notepad – but for you, it might be VS Code or any other text editor you want.

Image

Scroll down until you find the PowerShell block like below.

Image

Add "commandline": "pwsh.exe -nologo", like below.

Image

The command should be like this for the PowerShell block:

Image

Then save the file. You can use the shortcut keys Ctrl + S for this as well.

Click Save.

Image

Close all the tabs.

Image

Reopen the terminal and see the magic! 🪄

Image

Conclusion

Thanks for reading the entire article. If it helps you then you can also check out other articles of mine at freeCodeCamp.

If you want to get in touch with me, then you can do so using Twitter, LinkedIn, and GitHub.

You can also SUBSCRIBE to my YouTube channel (Code With FahimFBA) if you want to learn various kinds of programming languages with a lot of practical examples regularly.

If you want to check out my highlights, then you can do so at my Polywork timeline.

You can also visit my website to learn more about me and what I'm working on.

Thanks a bunch!

The banner image has been taken from storyset (Worker illustrations by Storyset) and modified using Adobe Photoshop.