I have a .ps1 file and I wanted to run the script when double-click! But a ps1 file is a script file so when you double click on in it opens a the notepad to edited.
So I what a way to execute the ps1 script!
I know that I can make a bat file and that execute the ps1 file and the problem with that is, that I need to files the .ps1 and a .bat! The problem that I'm facing is that there will be to files and so inconvenient...
So! Is there a way to make exe from a ps1 script?