Hello Thank you for your question and reaching out. I can understand you are having query\issues related to Windows Management Framework 5.1 update using script. First of all Please check below depencdoes or requires are full filled. Latest service pack must be installed. WMF 3.0 must not be installed. Installing WMF 5.1 over WMF 3.0 will result in the loss of the PSModulePath ($env:PSModulePath), which can cause other applications to fail. Before installing WMF 5.1, you must either uninstall WMF 3.0, or save the PSModulePath and then restore it manually after WMF 5.1 installation is complete. WMF 5.1 requires at least .NET Framework 4.5.2. You can install Microsoft .NET Framework 4.5.2 by following the instructions at the download location. Reference: https://learn.microsoft.com/en-us/powershell/scripting/windows-powershell/wmf/setup/install-configure?view=powershell-7.3 --If the reply is helpful, please Upvote and Accept as answer--
Windows Management Framework 5.1 update script can't find parameter
Ninim
20
Reputation points
Trying to update with WMF 5.1 install script and it gives me this error.
Windows for business Windows Server User experience PowerShell
8,330 questions
Windows for business Windows Client for IT Pros User experience Other
Accepted answer
1 additional answer
Sort by: Most helpful
-
Ninim 20 Reputation points
2023-04-17T19:08:36.2733333+00:00 Oh my god, im so sorry for everyone here, i thought that the KB3191566 update is something that's needed for installation, turns out it is a WMF 5.1 update itself, i just was confused with error, that didn't even considered to check the update in Powershell. Im so sorry, thank you so much.