Nuacht

Your scripts still run as native PowerShell, but are encapsulated into an EXE file. To quote the Microsoft Web page referenced above, the utility "does not convert the PowerShell script to an ...
Use the built-in IExpress.exe tool to easily convert PowerShell script (PS1) file to EXE in Windows 11/10. There are third-party tools available too.