Product, version and build: PowerShell Studio 2013
Operating system: Windows Server 2019 Standard
PowerShell version(s): 5.8.234
I am building my project into an executable that my users can run. I'm trying to find if there is an option that will require the executable to be ran as an administrator? This would usually put that Microsoft shield icon over the executable indicating it requires administrator rights.
Before purchasing PowerShell Studio I would use the free PS2EXE module found here: https://github.com/MScholtes/PS2EXE When running it it had an option to use the -requireAdmin paramater which would accomplish this behavior.
I do see that I can configure the executable to run as a specific user, which I do not want.
Is there such a feature to accomplish this?
Operating system: Windows Server 2019 Standard
PowerShell version(s): 5.8.234
I am building my project into an executable that my users can run. I'm trying to find if there is an option that will require the executable to be ran as an administrator? This would usually put that Microsoft shield icon over the executable indicating it requires administrator rights.
Before purchasing PowerShell Studio I would use the free PS2EXE module found here: https://github.com/MScholtes/PS2EXE When running it it had an option to use the -requireAdmin paramater which would accomplish this behavior.
I do see that I can configure the executable to run as a specific user, which I do not want.
Is there such a feature to accomplish this?
Statistics: Posted by Lery — Fri Dec 08, 2023 8:10 am — Replies 2 — Views 160