VS Code PowerShell Terminal: Removing banner
You can open $profile
with a text editor and type a cls
in it, it will clear terminal window on every start.
If you don't use VSCode you can create a shortcut with powershell.exe -NoLogo
.
Per the documentation for the Integrated Terminal feature it's possible to add shell parameters via the settings file.
In this case, you'll want to add the -NoLogo
parameter.
For example, I updated the existing PowerShell profiles for Windows like this:
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell",
"args": ["-NoLogo"] // <---- this is the addition
},
// other profiles here
}