# questions regarding ansible raw module on windows

**URL:** <https://forum.ansible.com/t/questions-regarding-ansible-raw-module-on-windows/19283>\
**Category:** Ansible Project\
**Tags:** windows, ansible-project\
**Created:** [September 17, 2015, 3:21am UTC](https://forum.ansible.com/t/questions-regarding-ansible-raw-module-on-windows/19283 "2015-09-17T03:21:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Church1](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@Chris\_Church1](https://forum.ansible.com/u/Chris_Church1)\
**Post date:** [September 17, 2015, 3:21am UTC](https://forum.ansible.com/t/questions-regarding-ansible-raw-module-on-windows/19283/1 "2015-09-17T03:21:19Z")

</div>

If using an Ansible checkout from the devel branch, the raw module should  
just work for PowerShell snippets. See examples in the integration tests (  
[https://github.com/ansible/ansible/blob/devel/test/integration/roles/test\_win\_raw/tasks/main.yml#L75](https://github.com/ansible/ansible/blob/devel/test/integration/roles/test_win_raw/tasks/main.yml#L75)  
).

In 1.9.x, you may have to prefix your command with "PowerShell -Command"  
for it to work.
