Server 2012 R2 - PowerShell upgrade
-
I tried upgrading from 3 to 4 over the weekend. When I try to install the WMF 4.0 multipkg.msu from the following link, I get this error:
https://www.microsoft.com/en-us/download/details.aspx?id=40855
Then, I went through these steps to install the cert:
right-click the file and select properties.
On "Digital Signatures" the tab, select the "Microsoft Corporation" entry and click "Details"
In the "Digital Signature Details" dialog, click "View Certificate"
In the "Certificate" dialog, click "Install Certificate..."
In the "Certificate Import Wizard" dialog, select "Local Machine" (though current user might work, didn't use it, so I can not attest to it) and click "Next"
Select the "Place all certificates in the following store" option and click "Browse"
In the "Select Certificate Store" dialog, select "Trusted Publishers" and click "Ok"
Back in the "Certificate Import Wizard" click "Next"
You should now be at the "Completing the Certificate Import Wizard" step of the "Certificate Import Wizard" ... click "Finish"
You should get "Import was successful"
Tried reinstalling the package, received the same error. What the heck am I missing to install v4? I already went into server manager as some other thread recommended to make sure features for 3.5 and 4.5 were installed. Not all of them are checked, but the ones that are defaulted with a server 2012 r2 installation are.
-
Server 2012 R2 comes with powershell v4, I thought?
You may need to add it under Server Manager?
-
@dafyre said in Server 2012 R2 - PowerShell upgrade:
Server 2012 R2 comes with powershell v4, I thought?
You may need to add it under Server Manager?
Comes with PowerShell obviously but did a $PSversiontable.PSversion and get a major: 3 ... No place in SM that I found where you can add PS 4, just a feature where you can see PowerShell is checked (just says "Windows PowerShell").
-
@dafyre said in Server 2012 R2 - PowerShell upgrade:
Server 2012 R2 comes with powershell v4, I thought?
You may need to add it under Server Manager?
-
Major oversight on my part. I overlooked the fact I downloaded the Windows6.1 (Win7) copy instead of Windows8 copy of the msu. Whoops.
-
Well that didn't fix the issue.
-
According to http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx PowerShell 4 is the default for 2012 R2... You sure you running R2?
-
This is what I see
-
Same here.
-
@dafyre said in Server 2012 R2 - PowerShell upgrade:
According to http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx PowerShell 4 is the default for 2012 R2... You sure you running R2?
Ah, sorry. 2012.
Installed WMF 4.0... didn't fix the issue.
Installed the PowerShell 2.0 feature, didn't fix the issue.
Got prompted to install ADK for Windows 10 after installing PS 2.0 feature. Didn't fix the issue.
This shouldn't be this hard, it has to be something that I'm doing wrong.
...or does MDT 2013 Update 2 does not work with Server 2012 (only works with 2012 R2)?
-
Did you reboot post install?