In CMD command prompt, the echo off command disables the command prompt to be shown in the "Command Prompt Window".
i.e., it does not show the folder path anymore in the prompt, giving you a clean dark window.
I've put a gif below to make this very clear:
After the echo off command, the prompt doesn't show the path "C:\Users\TEMP>" anymore, until I type echo on again.
Does powershell have something like this? Sorry if this is silly. I tried to look for it, but didn't find a simple answer regarding the command prompt window (not a script execution).

Use the backspace control character.
function prompt { echo " `b" }

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With