PowerShell - Modules and Script Organization
You want to update all installed modules from the PowerShell Gallery to their latest versions. Which command should you use?
Update-Module is the correct command to update installed modules to the latest version from the Gallery.Install-Module -Force installs or reinstalls but does not update all modules automatically. Get-Module -ListAvailable | Install-Module is incorrect syntax and inefficient. Publish-Module uploads modules, not updates them.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions