File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# https://itpro-tips.com/2020/update-all-powershell-modules-at-once/
2
2
# https://itpro-tips.com/2020/mettre-a-jour-tous-les-modules-powershell-en-une-fois/
3
3
4
- # This script provide informations about the module version (current and the latest available on PowerShell Gallery) and update to the latest version
4
+ # This script provides informations about the module version (current and the latest available on PowerShell Gallery) and update to the latest version
5
5
# If you have a module with two or more versions, the script delete them and reinstall only the latest.
6
6
7
- # PowerShell 5.0 pour PowerShell Gallery
7
+ # PowerShell 5.0 for PowerShell Gallery
8
8
# Requires -Version 5.0
9
9
# Requires -RunAsAdministrator
10
10
@@ -13,8 +13,8 @@ Write-Host -ForegroundColor cyan 'Define PowerShell to use TLS1.2 in this sessio
13
13
14
14
# if needed
15
15
# Register PSGallery PSprovider and set as Trusted source
16
- # Register-PSRepository -Default -ErrorAction SilentlyContinue
17
- # Set-PSRepository -Name PSGallery -InstallationPolicy trusted -ErrorAction SilentlyContinue
16
+ # Register-PSRepository -Default -ErrorAction SilentlyContinue
17
+ # Set-PSRepository -Name PSGallery -InstallationPolicy trusted -ErrorAction SilentlyContinue
18
18
19
19
$modules = Get-InstalledModule
20
20
@@ -69,4 +69,4 @@ foreach ($module in $modules.Name) {
69
69
Write-Host - ForegroundColor red " $_ .Exception.Message"
70
70
}
71
71
}
72
- }
72
+ }
You can’t perform that action at this time.
0 commit comments