【问题标题】:WinRM scripting from Linux来自 Linux 的 WinRM 脚本
【发布时间】:2013-08-16 08:34:24
【问题描述】:

如何编写一个在 Linux 上运行的 Perl 脚本,并且能够通过 WinRM 在 Windows Server 上远程执行脚本(给定本地管理员凭据)?

我正在寻找使用与 Ruby library for Windows Remote ManagementPython library for Windows Remote Management 等效的 Perl 库的示例代码。

【问题讨论】:

    标签: linux windows perl winrm


    【解决方案1】:

    你试过openwsman吗?它有 perl 绑定和supports WinRM。不过自己没用过。

    【讨论】:

    • 我不知道那个包。感谢您指出它。我会调查的。
    【解决方案2】:

    https://github.com/HugoMaza/WinRM-WinRSExec

    它是 Perl 模块,使您能够通过 WinRM 在 Windows Server 上远程执行脚本。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-13
      • 2018-10-28
      • 1970-01-01
      • 1970-01-01
      • 2011-08-23
      • 1970-01-01
      相关资源
      最近更新 更多