【问题标题】:Powershell in SSISSSIS 中的 Powershell
【发布时间】:2009-07-01 16:18:28
【问题描述】:

为了在 SSIS 包中运行 PowerShell 脚本,我需要做什么?

是否需要在 SQL 服务器上安装 PowerShell? 如何在 SSIS 中实际调用脚本?

谢谢

【问题讨论】:

    标签: powershell ssis


    【解决方案1】:

    是的,需要安装 PowerShell。然后,您可以使用 Execute Process Task 指向 PowerShell 可执行文件并将脚本作为参数提供。

    像这样:

    Executable: %windir%\system32\WindowsPowerShell\v1.0\powershell.exe
    Arguments:  C:\path\to\script.ps1
    

    【讨论】:

      猜你喜欢
      • 2017-10-01
      • 1970-01-01
      • 2011-06-20
      • 2012-03-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多