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.


Autohotkey V2 Stuff

 #Requires AutoHotkey v2.0 (required) #SingleInstance Force ::h::hello (hello with following space) :o:h::hello (hellow no following space) ...