# azure\_rm\_virtualmachine

**URL:** <https://forum.ansible.com/t/azure-rm-virtualmachine/22141>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [July 27, 2016, 8:23pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine/22141 "2016-07-27T20:23:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![M\_Ghaleb](https://avatars.discourse-cdn.com/v4/letter/m/f4b2a3/32.png) [@M\_Ghaleb](https://forum.ansible.com/u/M_Ghaleb)\
**Post date:** [July 27, 2016, 8:23pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine/22141/1 "2016-07-27T20:23:05Z")

</div>

Hi,

I’m trying to use this Module to spin up a VM in Azure. However how can I bootstrap Ansible PS1 script which enables the WinRM for other tasks?

Its working but I can’t see how can I inject user data into it?

Thank you in Advance!
