# windows; upgrade to powershell 5.1

**URL:** <https://forum.ansible.com/t/windows-upgrade-to-powershell-5-1/24163>\
**Category:** Ansible Developer\
**Tags:** windows\
**Created:** [April 6, 2017, 7:05pm UTC](https://forum.ansible.com/t/windows-upgrade-to-powershell-5-1/24163 "2017-04-06T19:05:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [April 6, 2017, 7:05pm UTC](https://forum.ansible.com/t/windows-upgrade-to-powershell-5-1/24163/1 "2017-04-06T19:05:32Z")

</div>

Just to say I’ve started working on a script for this.

If anyone has something in the works let me know, otherwise I’ll press on with this.

I plan to start with a script similar to the upgrade to ps3 one but depending on how things go I may wind up with a module or a role even.

The whole upgrade will involve a reboot so I’m thinking may work best as a role.

Jon

---

<div class="post-metadata">

**Author:** ![Trond\_Hindenes](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Post date:** [April 17, 2017, 7:26am UTC](https://forum.ansible.com/t/windows-upgrade-to-powershell-5-1/24163/2 "2017-04-17T07:26:33Z")

</div>

Nice!

---

<div class="post-metadata">

**Author:** ![j.r.hawkesworth](https://avatars.discourse-cdn.com/v4/letter/j/a3d4f5/32.png) [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Post date:** [April 24, 2017, 4:35pm UTC](https://forum.ansible.com/t/windows-upgrade-to-powershell-5-1/24163/3 "2017-04-24T16:35:47Z")

</div>

PR is here…  
[https://github.com/ansible/ansible/pull/23420](https://github.com/ansible/ansible/pull/23420)

… although still completely untested (not really viable to test on train journeys which is my main ‘ansble time’ at the moment).

Please run it and find all my bugs.

Jon
