You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run Update-Module without parameters, it runs through the installed modules and asks you to confirm installation if the InstallationPolicy dictates so.
Unfortunately, it does not display which module it is currently working on, nor the name of the repository.
It would be desirable if the confirmation also did a Write-Host of the module name and repository name before you confirm.
Example: A number of updates happened - but it is not possible to see which module was installed - except from during the progress bar display.
Suggestion - Output something like
Untrusted repository "repository name" for module "module name"
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository
cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "N"): A