WMF 5.1 changes the module path priority.
Since Windows 10 includes WMF 5.1 by default, the first step is checking if it's already active. Open (search for it in the Start menu). Type $PSVersionTable and press Enter . Look for the PSVersion line. It should say 5.1.XXXXX . 2. Why WMF 5.1 Matters wmf 5.1 windows 10
With PowerShellGet, users interact directly with the PowerShell Gallery. A simple command like Install-Module -Name Az allows an admin to download the entire Azure Type $PSVersionTable and press Enter
Major Minor Build Revision ----- ----- ----- -------- 5 1 17763 1 Are you trying to in PowerShell
Then manually restart using:
If you are on an older Windows 10 build (1507/1511) and cannot upgrade the OS, you can download WMF 5.1 directly from Microsoft.
Are you trying to in PowerShell, or are you looking to automate a task using WMF 5.1?