In our previous articles, we discussed managing windows machine with Ansible by default method and managing windows machine by CredSSP method. In this article we will see executes/run a command on a Windows node with Ansible.
This post discusses about to managing Windows machines/servers with Ansible control machine. Through WinRM, Ansible can connect to Windows machines and run PowerShell scripts. The idea of using Powershell as the main code to execute tasks in Windows systems,