# The powershell shell family is incompatible with the sudo become plugin

**URL:** <https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/37389>\
**Category:** Ansible Project\
**Created:** [November 28, 2022, 9:22am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/37389 "2022-11-28T09:22:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Operation\_Consultant](https://avatars.discourse-cdn.com/v4/letter/o/c57346/32.png) [@Operation\_Consultant](https://forum.ansible.com/u/Operation_Consultant)\
**Post date:** [November 28, 2022, 9:22am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/37389/1 "2022-11-28T09:22:31Z")

</div>

Getting - “The powershell shell family is incompatible with the sudo become plugin” Error message.

[ops@test02 ~]$ ansible --version  
ansible 2.9.27

#$$$

I’m using adhoc command  
ansible -i /home/aiops/ansible\_dir/windows\_d/w\_hosts.ini win -m win\_ping

---

<div class="post-metadata">

**Author:** ![dnmvisser](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Post date:** [November 28, 2022, 9:24am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/37389/2 "2022-11-28T09:24:33Z")

</div>

[https://docs.ansible.com/ansible/latest/playbook\_guide/playbooks\_privilege\_escalation.html#become-and-windows](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_privilege_escalation.html#become-and-windows)
