سؤال

How to write a Perl script that runs on Linux and is able to remotely execute a script on a Windows Server via WinRM given the local Administrator credentials?

I'm looking for sample code using a Perl library equivalent to this Ruby library for Windows Remote Management or this Python library for Windows Remote Management.

هل كانت مفيدة؟

المحلول

Have you tried openwsman? It has perl bindings and supports WinRM. Haven't used it myself though.

نصائح أخرى

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

It's Perl module that makes you able to remotely execute scripts on a Windows Server via WinRM.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top