Use win_command to call the script like you would locally.

- win_command: powershell.exe -ExecutionPolicy Bypass -File C:\path\to\
script.ps1 -ConsoleTitle "Dell Command | Update"

Thanks

Jordan

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9cd08c7d-a134-4f62-afc6-0019787f7d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to