Is it possibel to update Powershell version through Syncro

Hi.

Is it possibel to update Powershell version through Syncro on servers that runs PSversion 2.0?

Maybe through CMD as we can’t run PS script on servers with older version of PS

You might be able to do it through the third party application patch management in Syncro. There’s a chocolatey repo for upgrading PowerShell.

Note: I haven’t tested this.

Ian

There is an Upgrade Powershell script in the Community Repository. It requires you to download and host the update. I’ve not used it, so caveat emptor.

choco upgrade powershell -y
Works great, installs all the prerequisites so it’s easy. Will need reboot of course. You could do through patch management too, but it’s just a one time thing to go version 5 which i think is as high as you can go on End of Life OSes.

Thanks.

So I just make a new (CMD?) Script in Syncro with this: choco upgrade powershell -y

Should work fine powershell, maybe batch too, never tried.