Quote:
Originally Posted by Jedi
Hello,
I've been using this method for years. However, after pressing "Run with PowerShell", the Command Prompt opens and closes immediately.
I recently installed Windows 11, and this issue started occurring when I tried it for the first time on this new operating system.
P.S I have both files in the same folder.
|
I'd suspect that you need to implement the unblock item listed below (quoted from the second message in this thread):
Quote:
On recent Windows versions (i.e., when running PowerShell >= 7), you'll have to "unblock" the script to allow it to run. (Right Click > Tick Unblock in the bottom-right corner).
That should look like this (before ticking the box):
|