在 Powershell 可执行文件中包含外部脚本
我编写了一个 Powershell 脚本,并使用点源从外部脚本调用一些函数。使主脚本可执行后,未检测到我尝试调用的脚本。我是否还必须编译要调用的脚本?
I wrote a Powershell script, and I call some functions from external scripts using Dot sourcing. The scripts I try to call are not detected after making the main script executable. Do I have to compile the scripts to be called as well?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论