win_shell - Execute shell commands on target hosts ¶
See also
Synopsis ¶
-
The win_shell module takes the command name followed by a list of space-delimited arguments. It is similar to the win_command module , but runs the command via a shell (defaults to PowerShell) on the target host.
-
For non-Windows targets, use the shell module instead.