# Running powershell script with dependencies

**URL:** <https://forum.ansible.com/t/running-powershell-script-with-dependencies/22203>\
**Category:** Ansible Project\
**Created:** [August 3, 2016, 3:45pm UTC](https://forum.ansible.com/t/running-powershell-script-with-dependencies/22203 "2016-08-03T15:45:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ross\_Jones](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Ross\_Jones](https://forum.ansible.com/u/Ross_Jones)\
**Post date:** [August 3, 2016, 3:45pm UTC](https://forum.ansible.com/t/running-powershell-script-with-dependencies/22203/1 "2016-08-03T15:45:17Z")

</div>

Hi all,

Is it possible to execute a powershell script which depends on other scripts using the script task?

Thanks

---

<div class="post-metadata">

**Author:** ![Matt\_Davis](https://avatars.discourse-cdn.com/v4/letter/m/ce7236/32.png) [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Post date:** [August 3, 2016, 6:59pm UTC](https://forum.ansible.com/t/running-powershell-script-with-dependencies/22203/2 "2016-08-03T18:59:23Z")

</div>

Not directly- you’d first need to copy all the script deps to the remote side yourself, at which point you might as well just use raw (or the forthcoming win\_script/win\_command in 2.2).
