summaryrefslogtreecommitdiff
path: root/examples/winremote_exec_winrm.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/winremote_exec_winrm.yml')
-rw-r--r--examples/winremote_exec_winrm.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/winremote_exec_winrm.yml b/examples/winremote_exec_winrm.yml
new file mode 100644
index 0000000..28e6afb
--- /dev/null
+++ b/examples/winremote_exec_winrm.yml
@@ -0,0 +1,9 @@
+tasks:
+
+ - name: Ejecutar comando remoto en Windows vía WinRM (WS-Manager)
+ module: winremote_exec_winrm
+ args:
+ winuser: guillermo
+ winpassword: puertas
+ command: "cmd.exe /c echo hola > C:\\salida.txt"
+