【问题标题】:Running SSIS Execute Process Task using Powershell ISE使用 Powershell ISE 运行 SSIS 执行进程任务
【发布时间】:2015-02-16 00:27:47
【问题描述】:

我正在尝试通过 PowerShell ISE 运行 SSIS 包

Executable: C:\Windows\System32\WindowsPowershell\v1.0\PowerShell.exe
Arguments:  N:\PowerShell\Move-Item.ps1

但问题是参数文件位于没有 SSIS 的网络驱动器中。我的 SSIS 在名为 PFACESQAA 的服务器中。可执行文件来自我的网络驱动器(Active Directory 域)。如何从 Active Directory 域运行它或运行它的最佳方式是什么。我希望我说得通。

谢谢,

【问题讨论】:

    标签: powershell powershell-2.0 powershell-3.0 powershell-remoting powershell-ise


    【解决方案1】:

    Powershell 的 -file 参数可以很好地与网络路径一起使用,这是一个示例:

    powershell.exe -executionpolicy bypass -file \\server\share\file.ps1

    【讨论】:

    • 这是我应该在 SSIS C:\Windows\System32\WindowsPowershell\v1.0\PowerShell.exe -executionpolicy bypass -file \\server\share\文件.ps1
    • @Djbril 我对 SSIS 不是很熟悉,但在快速浏览后我建议如下: 可执行文件:C:\Windows\System32\Powershell\v1.0\Powershell.exe : -executionpolicy bypass -file \\server\share\file.ps1
    猜你喜欢
    • 1970-01-01
    • 2018-12-28
    • 2017-09-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多