Installing PS 5.1 on Server 2008 R2 over PS 2

Gregg Hughes 291 Reputation points
2021-06-25T19:11:43.08+00:00

Good afternoon!

I need to install PS 5.1 on three Server 2008 R2 VMs for eventual migration to a new Nutanix stack. They currently have WMS/PS 2 (stock install) with .NET 4.7.1 and 4.7.2 installed.

This document warns explicitly about NOT installing WMF/PS 5.1 over WMF version 3.0, but nothing about earlier versions. Is there any guidance on this? I plan on doing this over the weekend, but any uncertainty over how it would behave can make a delay or postponement acceptable.

Thanks to all for looking!

G

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Gregg Hughes 291 Reputation points
    2021-06-25T20:12:31.983+00:00

    Found this: https://www.petri.com/how-to-uninstall-windows-powershell

    In the article it claims that PS 2 is the baseline and that trying to remove it in any way would seriously damage Windows. So it looks like installing PS 5.1 over PS 2.0 should be OK. Still going to document my PSModulePath, tho.....

    0 comments No comments

  2. Anonymous
    2021-06-28T08:24:52.157+00:00

    Hi,

    It's OK to install PowerShell 5.1 over PowerShell 2.0 on Server 2008 R2. The PSModulePath will not be lost.

    Best Regards,
    Ian Xue

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.