Build Worker :: PowerShell 5.0
Hello,
I am working on a PowerShell project that requires the latest preview build of PowerShell 5.0 (April 2015). The "build worker software" page doesn't indicate which version of PowerShell is installed on the build worker image, however.
How can I ensure that PowerShell 5.0 is installed on my build worker? It requires a reboot, so can I have an "init" script that installs it, and reboots the build worker?
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell
http://trevorsullivan.net
http://twitter.com/pcgeek86
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 22 Jul, 2015 05:10 AM
Hi Trevor,
PowerShell 5.0 (April 2015) is installed on
unstableimage.2 Posted by Trevor Sullivan on 22 Jul, 2015 02:39 PM
Feodor,
Thanks for the quick response / pointer. I'll take a look at the `unstable` image.
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell
3 Posted by Trevor Sullivan on 22 Jul, 2015 04:06 PM
Feodor,
Where are the docs that talk about the
unstableimage? I Google'dappveyor image yamlbut don't see any references to theunstableimage.http://www.appveyor.com/docs/build-configuration
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell
Support Staff 4 Posted by Feodor Fitsner on 22 Jul, 2015 05:59 PM
It's not documented mainly because
unstableimage is a place for installing any experimental/beta stuff.We'll re-do this image to have VS 2015 and then install PS 5.0 April update.
5 Posted by Nicolai on 22 Oct, 2015 12:55 PM
I'm using Visual Studio 2015 image right now, but that contains Powershell Version 1 ?
May you update it to at least version 3.0+ ?
I really need Convert-FromJson
Or is there other things I can use to convert a array string to an object in PS?
Support Staff 6 Posted by Feodor Fitsner on 22 Oct, 2015 01:47 PM
The correct cmdlet name is 'ConvertFrom-Json' and it's available.
- Feodor
7 Posted by Nicolai on 22 Oct, 2015 08:08 PM
Second stupid mistake today, where is it going to end?
Thanks Feodor, love your product! :-)
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.