DEV Community

Discussion on: Change PowerShell Version used in PowerShell@2 - Azure DevOps Tricks #1

sarafian profile image
Alex Sarafian

I run into this problem two years ago when I run scripts that needed the ConvertFrom-Json through PowerShell remoting on different and older version of Windows.

I discovered that the older the version, the more stability problems there were often without any warning and error.

I ended up solving this by spliting the big array into smaller ones and then running the command and saving them to disk. Then move the files and stich them in an environment that is more capable.