question

MichaelE-7784 avatar image
0 Votes"
MichaelE-7784 asked DSPatrick commented

Unable to install WMF 5.1 on Server 2008 R2 SP1

I am unable to install Windows Management Framework 5.1 onto my server running Microsoft Server 2008 R2 SP1. I am using the following resource:
https://www.microsoft.com/en-us/download/details.aspx?id=54616

The URL that should allow me to download WMF 4.0 is broken! (Page cannot be found)
http://go.microsoft.com/fwlink/?linkid=293881

I would like to run the latest version of PowerShell on my server. However, I cannot seem to install the prerequisite software!

windows-serverwindows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

Make sure the server is patched fully and prerequisite .Net is installed.
https://docs.microsoft.com/en-us/powershell/scripting/windows-powershell/wmf/setup/install-configure?view=powershell-7.1#download-and-install-the-wmf-51-package

--please don't forget to Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelE-7784 avatar image
0 Votes"
MichaelE-7784 answered DSPatrick commented

Haha. Just discovered that the Get-Print command is only available on Server 2012 (or newer).
https://social.technet.microsoft.com/Forums/ie/en-US/ee9734af-a76d-43d0-a56b-432be2ce0246/getprinter-not-recognised-on-windows-2008-r2?forum=ITCG

That being said, this question was about Installing WMF 5.1 & I was able to achieve that objective.

Thanks for your help @DSPatrick!

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You're welcome.




0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

That Microsoft document helped A LOT!

Glad to hear, you're welcome. Please close this thread by marking answer and open a new thread for this new question.





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MichaelE-7784 avatar image
0 Votes"
MichaelE-7784 answered

That Microsoft document helped A LOT!

I was able to successfully Install WMF 5.1 and install PowerShell v7.

However, when I run the Get-Printer cmdlet I get the following error message. (See attachment)
94067-screen-shot-2021-05-05-at-40454-pm.png

I thought I was getting this error because I was running Powershell 2, but I am getting the same exact error in Powershell v7.
Do you know if I need to import something, before I can use the Get-Printer cmdlet?!




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.