首页 > 解决方案 > 是否有可能对最终用户隐藏代码?

问题描述

我编写了一个 PowerShell 脚本来为最终用户自动执行一些任务。我不想向最终用户透露代码/逻辑。

有没有办法把它打包成一个EXE。基本上,我不想透露代码。

有人可以对此提出建议吗?

标签: powershell-4.0

解决方案


This is a simple program to convert a PowerShell script into a .exe

https://gallery.technet.microsoft.com/PS2EXE-Convert-PowerShell-9e4e07f1

There would probably be some way to reverse engineer the original PowerShell script if a technical user was really motivated to do so though.


推荐阅读