I need to convert my powershell script to exe and make sure it will run on any computer without requiring any external libraries to be installed.
I can’t use PS2EXE as it doesn’t support Powershell above version 4.0 and not certified to work with Windows Server 2016 or Windows 10.Another option is using Powershell Studio, but the questions are:
- Will its output exe file require any external libraries to be executed? (To suit me the exe should contain the lightweight encapsulated Powershell and any other libraries which it requires to run independently, like PS2EXE result does)
- Can it work on Windows 10 and Windows Server 2016.