# powershell: not found

**URL:** <https://forum.ansible.com/t/powershell-not-found/27620>\
**Category:** Ansible Project\
**Created:** [May 24, 2018, 6:40pm UTC](https://forum.ansible.com/t/powershell-not-found/27620 "2018-05-24T18:40:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nojan\_Sheybani](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@Nojan\_Sheybani](https://forum.ansible.com/u/Nojan_Sheybani)\
**Post date:** [May 24, 2018, 6:40pm UTC](https://forum.ansible.com/t/powershell-not-found/27620/1 "2018-05-24T18:40:59Z")

</div>

![](https://us1.discourse-cdn.com/ansible/original/2X/b/ba24d5ebd824a080697c81b911bc9c0364a70ef6.png)

I keep getting this error whenever I try to run a playbook. I haven’t been able to find a solution to this, can anyone help?

---

<div class="post-metadata">

**Author:** ![ansible4windows](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ansible4windows](https://forum.ansible.com/u/ansible4windows)\
**Post date:** [May 24, 2018, 6:42pm UTC](https://forum.ansible.com/t/powershell-not-found/27620/2 "2018-05-24T18:42:57Z")

</div>

I am too getting same error now…

[![](https://lh3.googleusercontent.com/-jreluVXf23k/WwcHrAfqqRI/AAAAAAAAAAM/aVP1MmgeLIohy2B7sbs70TspZvbVu4SvACLcBGAs/s320/Capture.PNG)](https://lh3.googleusercontent.com/-jreluVXf23k/WwcHrAfqqRI/AAAAAAAAAAM/aVP1MmgeLIohy2B7sbs70TspZvbVu4SvACLcBGAs/s1600/Capture.PNG)

---

<div class="post-metadata">

**Author:** ![Nojan\_Sheybani](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@Nojan\_Sheybani](https://forum.ansible.com/u/Nojan_Sheybani)\
**Post date:** [May 24, 2018, 6:43pm UTC](https://forum.ansible.com/t/powershell-not-found/27620/3 "2018-05-24T18:43:30Z")

</div>

Also, I’m running Ubuntu 18.04

---

<div class="post-metadata">

**Author:** ![Tchia04](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Post date:** [May 24, 2018, 6:58pm UTC](https://forum.ansible.com/t/powershell-not-found/27620/4 "2018-05-24T18:58:29Z")

</div>

Without looking at your playbook and your inventory it’s hard to say.

However I will throw an educated guess that you are running the ping linux module which using a winrm connection.

If your target host is really linux and you want to run ping then switch your connection to ssh or paramiko. If your target host is windows then change the module to wing\_ping instead of ping.

See this link to see if it resolves your issue [https://github.com/ansible/ansible/issues/35437](https://github.com/ansible/ansible/issues/35437)

---

<div class="post-metadata">

**Author:** ![ansible4windows](https://avatars.discourse-cdn.com/v4/letter/a/cc9497/32.png) [@ansible4windows](https://forum.ansible.com/u/ansible4windows)\
**Post date:** [May 24, 2018, 7:00pm UTC](https://forum.ansible.com/t/powershell-not-found/27620/5 "2018-05-24T19:00:49Z")

</div>

Hi Tony,  
Please take a look at my inventory and my work at this post.  
[https://groups.google.com/forum/#!topic/ansible-project/p6Ye0VKNOT8](https://groups.google.com/forum/#!topic/ansible-project/p6Ye0VKNOT8)

---

<div class="post-metadata">

**Author:** ![Nojan\_Sheybani](https://avatars.discourse-cdn.com/v4/letter/n/13edae/32.png) [@Nojan\_Sheybani](https://forum.ansible.com/u/Nojan_Sheybani)\
**Post date:** [May 24, 2018, 7:02pm UTC](https://forum.ansible.com/t/powershell-not-found/27620/6 "2018-05-24T19:02:10Z")

</div>

I was accidentally doing win\_ping instead of ping, so you are correct. Thank you so so much!
