# Control BlinkStick using PowerShell

**URL:** <https://forums.blinkstick.com/t/control-blinkstick-using-powershell/1508>\
**Category:** Support\
**Created:** [December 24, 2021, 5:24pm UTC](https://forums.blinkstick.com/t/control-blinkstick-using-powershell/1508 "2021-12-24T17:24:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![researchstuff](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/r/34f0e0/32.png) [@researchstuff](https://forums.blinkstick.com/u/researchstuff)\
**Post date:** [December 24, 2021, 5:24pm UTC](https://forums.blinkstick.com/t/control-blinkstick-using-powershell/1508/1 "2021-12-24T17:24:01Z")

</div>

Does anyone have a code example of controlling a BlinkStick using PowerShell?

---

<div class="post-metadata">

**Author:** ![p0ke](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/p0ke/32/14_2.png) [@p0ke](https://forums.blinkstick.com/u/p0ke)\
**Post date:** [March 2, 2022, 11:36am UTC](https://forums.blinkstick.com/t/control-blinkstick-using-powershell/1508/2 "2022-03-02T11:36:40Z")

</div>

Take a look at this post. The user compiled a EXE. You can use this in cmd and I think also in PowerShell.

> [@\[SOLVED\]Blinkstick square not turn off after computer shutdown](https://forums.blinkstick.com/t/solved-blinkstick-square-not-turn-off-after-computer-shutdown/1260/4):
>
> If you have any programming experience, you could use one of the supported programming languages, to create a script/executable that does this for you. i could compile a EXE for you, but you should never trust an EXE file from a stranger on the internet slight_smile I tried making a script for my own Blinkstick Strip using the CMD DLL, but it should also work for the Square. Using CMD is not the cleanest, but it will do the job, and you can see what the scipt does in a plain text editor …
