Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WinRM scripting from Linux

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.

like image 479
Fernando Correia Avatar asked May 13 '26 13:05

Fernando Correia


1 Answers

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

like image 157
Boris B. Avatar answered May 16 '26 08:05

Boris B.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!