How to execute ps1 script from Win 11 shortcut

Greg,
Welcome to the forum. :wave:t3:

You may first negotiate your options … :wink: … try running …

powershell /?

… in a CMD or PowerShell console window to learn how to properly start the PowerShell and execute a script file from a command line.

Are you sure about that? :wink: … you may use the command line option -NoExit.

1 Like