Wednesday, September 25, 2024

Powershell 7 - How The Heck Do I Start It

 I installed Powershell 7.
    The default is v5 and it remains the default

But how do you run v7?

Bring up a Command Prompt (or Powershell v5) and type "pwsh".
    CMD is the most interesting . . .

Here is the original CMD window

It tuns into this

When done in Powershell it does this

OK, your will look different. I'm running the Chris Titus profile.

Remember, Powershell can run every cmd command.
    You don't need to do this but if you type cmd.exe once, Powershell will act more like cmd. It will perform the commands without cmd.exe but may not display the same.


Clear Start Menu Pinned Items

I haven't used this yet but plan to on the next Win 11 implementation. The .bat file to run the .ps1 Paste the following into a notepad ...