Executing a command remotely using ansible

Hi Team,

I would like to execute a command on a remote windows host as we are performing on Linux Machines ansible webserver -s -m shell -a “/etc/init.d/httpd status” -u user1 -k

Some could you please help me how can we execute the command on Windows remote host. Most probably we need to find a module to replace shell on the above mentioned command line.

Could you please guide me how can we achieve this?

Thanks,
Akash John

Have you looked at this? http://docs.ansible.com/ansible/intro_windows.html

Hi Jeff, yes but i think there we cannot find the similar method as i shared earlier for linux. Could you please guide me if I missed anything on that page?