When installing fresh, I currently install all non-integratable KBs that are .msu files with wusa.exe from Setupcomplete.cmd. I also installed WMF 5.0 (KB3134760) this way. Since WMF 5.1 has replaced 5.0, I would like install it in the same manner, but now along with the .msu, there is also a .ps1 script to do the installation. I'm not sure how to go about installing WMF with a Powershell script at this stage via the Setupcomplete.cmd. Anyone know how I can do this or another way to automate the WMF 5.1 install?
The ps1 script is ment as precaution and to help verify and automate the installation you can safely ignore it and install the msu file directly, as long as the prerequisites are met: .NET 4.5 or later installed WMF 3.0 not installed
I have a questions: can PowerShell 2.0 be updated directly to version WMF 5.1, or does WMF 4.0 have to be installed first, followed by 5.1? Two websites recommend this approach (2.0, 4.0, 5.1), but why? Microsoft specifically states that 2.0 can be updated directly to 5.1! What is the latest currently supported "side" version of PowerShell Core 6.0–7.0 for Windows 7?
installing WMF 5.1 directly is enough WMF 4.0 & 5.0 had issues if WMF 3.0 was installed WMF 5.1 fixed that issue
Yes, Microsoft itself states that WMF 3.0 must not be installed, or save the PSModulePath before WMF 5.1! What determines the CLRVersion? Let me put it another way: I've seen that if someone installs WMF 5.1 directly on WMF 2.0, they have CLRVersion is 4.0.30319.34209. But if it does so as stated on these two websites, first WMF 4.0 and then WMF 5.1, it is CLRVersion 4.0.30319.42000. I don't know if the CLR version is that important!