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
❯ topgrade --no-retry --cleanup --yes --only 'powershell'
── 12:05:24 - Powershell Modules Update ────────────────────────────────────────
Updating modules...
WARNING: The version '0.1.1' of module 'CompletionPredictor' is currently in use. Retry the operation after closing the applications.
WARNING: The version '1.0.4.0' of module 'Microsoft.WinGet.CommandNotFound' is currently in use. Retry the operation after closing the applications.
WARNING: The version '0.2.1' of module 'PSAdvancedShortcut' is currently in use. Retry the operation after closing the applications.
── 12:06:14 - Summary ──────────────────────────────────────────────────────────
Powershell Modules Update: OK
── 12:11:05 - Powershell Modules Update ────────────────────────────────────────
Updating modules...
DEBUG Executing command C:\Program Files\WindowsApps\Microsoft.PowerShell_7.4.6.0_x64__8wekyb3d8bbwe\pwsh.exe -NoProfile -Command 'Update-Module -Verbose -Force'
VERBOSE: Acquiring providers for assembly: C:\program files\windowsapps\microsoft.powershell_7.4.6.0_x64__8wekyb3d8bbwe\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.MetaProvider.PowerShell.dll
VERBOSE: Acquiring providers for assembly: C:\program files\windowsapps\microsoft.powershell_7.4.6.0_x64__8wekyb3d8bbwe\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.ArchiverProviders.dll
VERBOSE: Acquiring providers for assembly: C:\program files\windowsapps\microsoft.powershell_7.4.6.0_x64__8wekyb3d8bbwe\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.CoreProviders.dll
VERBOSE: Acquiring providers for assembly: C:\program files\windowsapps\microsoft.powershell_7.4.6.0_x64__8wekyb3d8bbwe\Modules\PackageManagement\coreclr\netstandard2.0\Microsoft.PackageManagement.NuGetProvider.dll
VERBOSE: Checking for updates for module 'CompletionPredictor'.
VERBOSE: Suppressed Verbose Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='CompletionPredictor'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'CompletionPredictor'.
VERBOSE: Performing the operation "Update-Module" on target "Version '0.1.1' of module 'CompletionPredictor', updating to version '0.1.1'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\user\OneDrive\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'CompletionPredictor' with version '0.1.1' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='CompletionPredictor'' for ''.
VERBOSE: InstallPackage' - name='CompletionPredictor', version='0.1.1',destination='C:\Users\user\AppData\Local\Temp\1250417827'
VERBOSE: DownloadPackage' - name='CompletionPredictor', version='0.1.1',destination='C:\Users\user\AppData\Local\Temp\1250417827\CompletionPredictor.0.1.1\CompletionPredictor.0.1.1.nupkg', uri='https://www.powershellgallery.com/api/v2/package/CompletionPredictor/0.1.1'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/CompletionPredictor/0.1.1'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/CompletionPredictor/0.1.1'.
VERBOSE: Completed downloading 'CompletionPredictor'.
VERBOSE: InstallPackageLocal' - name='CompletionPredictor', version='0.1.1',destination='C:\Users\user\AppData\Local\Temp\1250417827'
VERBOSE: Validating the 'CompletionPredictor' module contents under 'C:\Users\user\AppData\Local\Temp\1250417827\CompletionPredictor.0.1.1' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\1250417827\CompletionPredictor.0.1.1'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'CompletionPredictor'.
VERBOSE: Catalog file 'CompletionPredictor.cat' is not found in the contents of the module 'CompletionPredictor' being installed.
VERBOSE: Valid authenticode signature found in the file 'CompletionPredictor.psd1' for the module 'CompletionPredictor'.
VERBOSE: For publisher validation, current module 'CompletionPredictor' with version '0.1.1' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: For publisher validation, using the previously-installed module 'CompletionPredictor' with version '0.1.1' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\CompletionPredictor\0.1.1' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: Authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the new module 'CompletionPredictor' with version '0.1.1' matches with the authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the previously-installed module 'CompletionPredictor' with version '0.1.1'.
VERBOSE: Checking for possible command collisions for the module 'CompletionPredictor' commands.
WARNING: The version '0.1.1' of module 'CompletionPredictor' is currently in use. Retry the operation after closing the applications.
VERBOSE: Module 'CompletionPredictor' is in currently in use or you don't have the required permissions.
VERBOSE: Checking for updates for module 'Microsoft.WinGet.Client'.
VERBOSE: Suppressed Verbose Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.WinGet.Client'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'Microsoft.WinGet.Client'.
VERBOSE: Performing the operation "Update-Module" on target "Version '1.9.25180' of module 'Microsoft.WinGet.Client', updating to version '1.9.25180'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\user\OneDrive\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'Microsoft.WinGet.Client' with version '1.9.25180' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.WinGet.Client'' for ''.
VERBOSE: InstallPackage' - name='Microsoft.WinGet.Client', version='1.9.25180',destination='C:\Users\user\AppData\Local\Temp\656243511'
VERBOSE: DownloadPackage' - name='Microsoft.WinGet.Client', version='1.9.25180',destination='C:\Users\user\AppData\Local\Temp\656243511\Microsoft.WinGet.Client.1.9.25180\Microsoft.WinGet.Client.1.9.25180.nupkg', uri='https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/1.9.25180'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/1.9.25180'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/1.9.25180'.
VERBOSE: Completed downloading 'Microsoft.WinGet.Client'.
VERBOSE: InstallPackageLocal' - name='Microsoft.WinGet.Client', version='1.9.25180',destination='C:\Users\user\AppData\Local\Temp\656243511'
VERBOSE: Validating the 'Microsoft.WinGet.Client' module contents under 'C:\Users\user\AppData\Local\Temp\656243511\Microsoft.WinGet.Client.1.9.25180' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\656243511\Microsoft.WinGet.Client.1.9.25180'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'Microsoft.WinGet.Client'.
VERBOSE: Catalog file 'Microsoft.WinGet.Client.cat' is not found in the contents of the module 'Microsoft.WinGet.Client' being installed.
VERBOSE: Valid authenticode signature found in the file 'Microsoft.WinGet.Client.psd1' for the module 'Microsoft.WinGet.Client'.
VERBOSE: For publisher validation, current module 'Microsoft.WinGet.Client' with version '1.9.25180' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: For publisher validation, using the previously-installed module 'Microsoft.WinGet.Client' with version '1.9.25180' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\Microsoft.WinGet.Client\1.9.25180' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: Authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the new module 'Microsoft.WinGet.Client' with version '1.9.25180' matches with the authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the previously-installed module 'Microsoft.WinGet.Client' with version '1.9.25180'.
VERBOSE: Checking for possible command collisions for the module 'Microsoft.WinGet.Client' commands.
VERBOSE: Module 'Microsoft.WinGet.Client' was installed successfully to path 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\Microsoft.WinGet.Client\1.9.25180'.
VERBOSE: Checking for updates for module 'Microsoft.WinGet.CommandNotFound'.
VERBOSE: Suppressed Verbose Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.WinGet.CommandNotFound'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'Microsoft.WinGet.CommandNotFound'.
VERBOSE: Performing the operation "Update-Module" on target "Version '1.0.4.0' of module 'Microsoft.WinGet.CommandNotFound', updating to version '1.0.4.0'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\user\OneDrive\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'Microsoft.WinGet.CommandNotFound' with version '1.0.4.0' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.WinGet.CommandNotFound'' for ''.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='Microsoft.WinGet.Client'' for ''.
VERBOSE: InstallPackage' - name='Microsoft.WinGet.Client', version='1.9.25180',destination='C:\Users\user\AppData\Local\Temp\116123545'
VERBOSE: DownloadPackage' - name='Microsoft.WinGet.Client', version='1.9.25180',destination='C:\Users\user\AppData\Local\Temp\116123545\Microsoft.WinGet.Client.1.9.25180\Microsoft.WinGet.Client.1.9.25180.nupkg', uri='https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/1.9.25180'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/1.9.25180'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.Client/1.9.25180'.
VERBOSE: Completed downloading 'Microsoft.WinGet.Client'.
VERBOSE: InstallPackageLocal' - name='Microsoft.WinGet.Client', version='1.9.25180',destination='C:\Users\user\AppData\Local\Temp\116123545'
VERBOSE: InstallPackage' - name='Microsoft.WinGet.CommandNotFound', version='1.0.4.0',destination='C:\Users\user\AppData\Local\Temp\116123545'
VERBOSE: DownloadPackage' - name='Microsoft.WinGet.CommandNotFound', version='1.0.4.0',destination='C:\Users\user\AppData\Local\Temp\116123545\Microsoft.WinGet.CommandNotFound.1.0.4.0\Microsoft.WinGet.CommandNotFound.1.0.4.0.nupkg', uri='https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.CommandNotFound/1.0.4'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.CommandNotFound/1.0.4'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Microsoft.WinGet.CommandNotFound/1.0.4'.
VERBOSE: Completed downloading 'Microsoft.WinGet.CommandNotFound'.
VERBOSE: InstallPackageLocal' - name='Microsoft.WinGet.CommandNotFound', version='1.0.4.0',destination='C:\Users\user\AppData\Local\Temp\116123545'
VERBOSE: Validating the 'Microsoft.WinGet.Client' module contents under 'C:\Users\user\AppData\Local\Temp\116123545\Microsoft.WinGet.Client.1.9.25180' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\116123545\Microsoft.WinGet.Client.1.9.25180'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'Microsoft.WinGet.Client'.
VERBOSE: Catalog file 'Microsoft.WinGet.Client.cat' is not found in the contents of the module 'Microsoft.WinGet.Client' being installed.
VERBOSE: Valid authenticode signature found in the file 'Microsoft.WinGet.Client.psd1' for the module 'Microsoft.WinGet.Client'.
VERBOSE: For publisher validation, current module 'Microsoft.WinGet.Client' with version '1.9.25180' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: For publisher validation, using the previously-installed module 'Microsoft.WinGet.Client' with version '1.9.25180' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\Microsoft.WinGet.Client\1.9.25180' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: Authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the new module 'Microsoft.WinGet.Client' with version '1.9.25180' matches with the authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the previously-installed module 'Microsoft.WinGet.Client' with version '1.9.25180'.
VERBOSE: Checking for possible command collisions for the module 'Microsoft.WinGet.Client' commands.
VERBOSE: Installing the dependency module 'Microsoft.WinGet.Client' with version '1.9.25180' for the module 'Microsoft.WinGet.CommandNotFound'.
VERBOSE: Module 'Microsoft.WinGet.Client' was installed successfully to path 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\Microsoft.WinGet.Client\1.9.25180'.
VERBOSE: Validating the 'Microsoft.WinGet.CommandNotFound' module contents under 'C:\Users\user\AppData\Local\Temp\116123545\Microsoft.WinGet.CommandNotFound.1.0.4.0' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\116123545\Microsoft.WinGet.CommandNotFound.1.0.4.0'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'Microsoft.WinGet.CommandNotFound'.
VERBOSE: Catalog file 'Microsoft.WinGet.CommandNotFound.cat' is not found in the contents of the module 'Microsoft.WinGet.CommandNotFound' being installed.
VERBOSE: Valid authenticode signature found in the file 'Microsoft.WinGet.CommandNotFound.psd1' for the module 'Microsoft.WinGet.CommandNotFound'.
VERBOSE: For publisher validation, current module 'Microsoft.WinGet.CommandNotFound' with version '1.0.4.0' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: For publisher validation, using the previously-installed module 'Microsoft.WinGet.CommandNotFound' with version '1.0.4.0' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\Microsoft.WinGet.CommandNotFound\1.0.4.0' with publisher name 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' from root certificate authority 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US'. Is this module signed by Microsoft: 'True'.
VERBOSE: Authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the new module 'Microsoft.WinGet.CommandNotFound' with version '1.0.4.0' matches with the authenticode issuer 'CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' of the previously-installed module 'Microsoft.WinGet.CommandNotFound' with version '1.0.4.0'.
VERBOSE: Checking for possible command collisions for the module 'Microsoft.WinGet.CommandNotFound' commands.
WARNING: The version '1.0.4.0' of module 'Microsoft.WinGet.CommandNotFound' is currently in use. Retry the operation after closing the applications.
VERBOSE: Module 'Microsoft.WinGet.CommandNotFound' is in currently in use or you don't have the required permissions.
VERBOSE: Checking for updates for module 'posh-git'.
VERBOSE: Suppressed Verbose Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='posh-git'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'posh-git'.
VERBOSE: Performing the operation "Update-Module" on target "Version '1.1.0' of module 'posh-git', updating to version '1.1.0'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\user\OneDrive\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'posh-git' with version '1.1.0' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='posh-git'' for ''.
VERBOSE: InstallPackage' - name='posh-git', version='1.1.0',destination='C:\Users\user\AppData\Local\Temp\498298704'
VERBOSE: DownloadPackage' - name='posh-git', version='1.1.0',destination='C:\Users\user\AppData\Local\Temp\498298704\posh-git.1.1.0\posh-git.1.1.0.nupkg', uri='https://www.powershellgallery.com/api/v2/package/posh-git/1.1.0'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/posh-git/1.1.0'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/posh-git/1.1.0'.
VERBOSE: Completed downloading 'posh-git'.
VERBOSE: InstallPackageLocal' - name='posh-git', version='1.1.0',destination='C:\Users\user\AppData\Local\Temp\498298704'
VERBOSE: Validating the 'posh-git' module contents under 'C:\Users\user\AppData\Local\Temp\498298704\posh-git.1.1.0' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\498298704\posh-git.1.1.0'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'posh-git'.
VERBOSE: Catalog file 'posh-git.cat' is not found in the contents of the module 'posh-git' being installed.
VERBOSE: For publisher validation, current module 'posh-git' with version '1.1.0' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
VERBOSE: For publisher validation, using the previously-installed module 'posh-git' with version '1.1.0' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\posh-git\1.1.0' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
VERBOSE: Checking for possible command collisions for the module 'posh-git' commands.
VERBOSE: Module 'posh-git' was installed successfully to path 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\posh-git\1.1.0'.
VERBOSE: Checking for updates for module 'PSAdvancedShortcut'.
VERBOSE: Suppressed Verbose Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PSAdvancedShortcut'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'PSAdvancedShortcut'.
VERBOSE: Performing the operation "Update-Module" on target "Version '0.2.1' of module 'PSAdvancedShortcut', updating to version '0.2.1'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\user\OneDrive\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'PSAdvancedShortcut' with version '0.2.1' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PSAdvancedShortcut'' for ''.
VERBOSE: InstallPackage' - name='PSAdvancedShortcut', version='0.2.1',destination='C:\Users\user\AppData\Local\Temp\571896886'
VERBOSE: DownloadPackage' - name='PSAdvancedShortcut', version='0.2.1',destination='C:\Users\user\AppData\Local\Temp\571896886\PSAdvancedShortcut.0.2.1\PSAdvancedShortcut.0.2.1.nupkg', uri='https://www.powershellgallery.com/api/v2/package/PSAdvancedShortcut/0.2.1'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PSAdvancedShortcut/0.2.1'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PSAdvancedShortcut/0.2.1'.
VERBOSE: Completed downloading 'PSAdvancedShortcut'.
VERBOSE: InstallPackageLocal' - name='PSAdvancedShortcut', version='0.2.1',destination='C:\Users\user\AppData\Local\Temp\571896886'
VERBOSE: Validating the 'PSAdvancedShortcut' module contents under 'C:\Users\user\AppData\Local\Temp\571896886\PSAdvancedShortcut.0.2.1' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\571896886\PSAdvancedShortcut.0.2.1'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'PSAdvancedShortcut'.
VERBOSE: Catalog file 'PSAdvancedShortcut.cat' is not found in the contents of the module 'PSAdvancedShortcut' being installed.
VERBOSE: For publisher validation, current module 'PSAdvancedShortcut' with version '0.2.1' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
VERBOSE: For publisher validation, using the previously-installed module 'PSAdvancedShortcut' with version '0.2.1' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\PSAdvancedShortcut\0.2.1' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
VERBOSE: Checking for possible command collisions for the module 'PSAdvancedShortcut' commands.
WARNING: The version '0.2.1' of module 'PSAdvancedShortcut' is currently in use. Retry the operation after closing the applications.
VERBOSE: Module 'PSAdvancedShortcut' is in currently in use or you don't have the required permissions.
VERBOSE: Checking for updates for module 'PSCompletions'.
VERBOSE: Suppressed Verbose Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PSCompletions'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'PSCompletions'.
VERBOSE: Performing the operation "Update-Module" on target "Version '5.0.6' of module 'PSCompletions', updating to version '5.0.6'".
VERBOSE: The installation scope is specified to be 'CurrentUser'.
VERBOSE: The specified module will be installed in 'C:\Users\user\OneDrive\Documents\PowerShell\Modules'.
VERBOSE: The specified Location is 'NuGet' and PackageManagementProvider is 'NuGet'.
VERBOSE: Downloading module 'PSCompletions' with version '5.0.6' from the repository 'https://www.powershellgallery.com/api/v2'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='PSCompletions'' for ''.
VERBOSE: InstallPackage' - name='PSCompletions', version='5.0.6',destination='C:\Users\user\AppData\Local\Temp\998798353'
VERBOSE: DownloadPackage' - name='PSCompletions', version='5.0.6',destination='C:\Users\user\AppData\Local\Temp\998798353\PSCompletions.5.0.6\PSCompletions.5.0.6.nupkg', uri='https://www.powershellgallery.com/api/v2/package/PSCompletions/5.0.6'
VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/PSCompletions/5.0.6'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/PSCompletions/5.0.6'.
VERBOSE: Completed downloading 'PSCompletions'.
VERBOSE: InstallPackageLocal' - name='PSCompletions', version='5.0.6',destination='C:\Users\user\AppData\Local\Temp\998798353'
VERBOSE: Validating the 'PSCompletions' module contents under 'C:\Users\user\AppData\Local\Temp\998798353\PSCompletions.5.0.6' path.
VERBOSE: Test-ModuleManifest successfully validated the module manifest file 'C:\Users\user\AppData\Local\Temp\998798353\PSCompletions.5.0.6'.
VERBOSE: Validating the authenticode signature and publisher of the catalog file or module manifest file of the module 'PSCompletions'.
VERBOSE: Catalog file 'PSCompletions.cat' is not found in the contents of the module 'PSCompletions' being installed.
VERBOSE: For publisher validation, current module 'PSCompletions' with version '5.0.6' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
VERBOSE: For publisher validation, using the previously-installed module 'PSCompletions' with version '5.0.6' under 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\PSCompletions\5.0.6' with publisher name '' from root certificate authority ''. Is this module signed by Microsoft: 'False'.
VERBOSE: Checking for possible command collisions for the module 'PSCompletions' commands.
VERBOSE: Module 'PSCompletions' was installed successfully to path 'C:\Users\user\OneDrive\Documents\PowerShell\Modules\PSCompletions\5.0.6'.
Erroneous Behavior
Expected Behavior
topgrade maybe can unload modules before trying to update modules https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/remove-module?view=powershell-7.4
Steps to reproduce
Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted
Install-Module -Name posh-git, PSAdvancedShortcut, PSCompletions, CompletionPredictor, Microsoft.WinGet.Client, Microsoft.WinGet.CommandNotFound
$documentsPath = [Environment]::GetFolderPath('MyDocuments')
Import-Module -Name (Get-ChildItem $documentsPath\PowerShell\Modules)
topgrade --no-retry --cleanup --yes --only 'powershell'
Possible Cause (Optional)
Modules cannot be updated because they are in use.
Problem persists without calling from topgrade
Did you run topgrade through
Remote Execution
If yes, does the issue still occur when you run topgrade directlly in your
remote host
Additional Details
Windows 11 Pro 24H2
Installation
topgrade installed from scoop
topgrade 16.0.1
Verbose Output (
topgrade -v
)The text was updated successfully, but these errors were encountered: