【发布时间】:2012-03-08 15:38:19
【问题描述】:
我想自动启动一个powershell并从另一个powershell运行一些命令(由于功能的优势,我想从另一个powershell启动它)。
我想这样做是因为我正在使用 powershell 测试用 C# 编码的 *.dll,并且我必须不断启动和退出 powershell,因为无法在 powershell 中卸载 dll,因此无法使用其重新加载库类。
有没有办法像办公室的 com-object 自动化一样自动化 powershell?
【问题讨论】:
标签: powershell automation