Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Run the following commands to remove any previous versions of installed PowerShell modules: 

Code Block
languagepowershell
$InstalledModules = Get-InstalledModule; ForEach ($Module in $InstalledModules) { Get-InstalledModule -Name $Module.Name -AllVersions | Where-Object { $_.Version -ne $Module.Version } | Uninstall-Module }

...