Hi! I recently upgraded to Windows 11 and ran into a problem. This cannot happen completely automatically when executing a PS1 script. Manual approvals are required, which poisons the script's work. Any advice on how to deal with this? For now, the only thing (that I've found) that should work is signing the PS1 script. But it should be studied how it is done (I have not come across it).
Hi! I recently upgraded to Windows 11 and ran into a problem. This cannot happen completely automatically when executing a PS1 script. Manual approvals are required, which poisons the script's work. Any advice on how to deal with this? For now, the only thing (that I've found) that should work is signing the PS1 script. But it should be studied how it is done (I have not come across it).