# Integration with Windows PowerShell

**URL:** <https://forum.flowable.org/t/integration-with-windows-powershell/1079>\
**Category:** Flowable Engine\
**Created:** [October 20, 2017, 9:26am UTC](https://forum.flowable.org/t/integration-with-windows-powershell/1079 "2017-10-20T09:26:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![goofygoose](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@goofygoose](https://forum.flowable.org/u/goofygoose)\
**Post date:** [October 20, 2017, 9:26am UTC](https://forum.flowable.org/t/integration-with-windows-powershell/1079/1 "2017-10-20T09:26:36Z")

</div>

I would like to ask: how can I get Flowable to run Powershell scripts as a service task? Even better if it can input parameters and retrieve results from the Powershell scripts.

I am asking because have a primarily Windows environment with lots of PowerShell scripts already available for day-to-day administrative tasks, and is now looking at Flowable to implement an approval workflow that can automate the servicing of requests.

Thanks for any advice in advance.

---

<div class="post-metadata">

**Author:** ![yvo](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/yvo/32/2231_2.png) [@yvo](https://forum.flowable.org/u/yvo)\
**Post date:** [October 20, 2017, 6:51pm UTC](https://forum.flowable.org/t/integration-with-windows-powershell/1079/2 "2017-10-20T18:51:04Z")

</div>

Hi.

Technically you can run system commands from Java (or another language that runs on the JVM).  
That means you can run them from a Service Task or Script Task.  
But; implementing something like this raises serious security concerns. And should be addressed.

This is one of the reasons we provide the ‘secure scripting’ feature. ([http://www.flowable.org/docs/userguide/index.html#advancedSecureScripting](http://www.flowable.org/docs/userguide/index.html#advancedSecureScripting))

Regards,

Yvo
