Windows-screenFetch
Windows-screenFetch copied to clipboard
Command conflict 'Get-Uptime'
When I run Install-Module -Name windows-screenfetch on PowerShell 7.0.1, it gives me an error:
Install-Package: D:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:9709 Line | 9709 | … talledPackages = PackageManagement\Install-Package @PSBoundParameters | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | The following commands are already available on this system:'Get-Uptime'. This module | 'windows-screenfetch' may override the existing commands. If you still want to install this module
| 'windows-screenfetch', use -AllowClobber parameter.
The output of Get-Command Get-Uptime is
CommandType Name Version Source
----------- ---- ------- ------
Cmdlet Get-Uptime 7.0.0.0 Microsoft.PowerShell.Utility
I have the same issue:
Install-Package: C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:9709
Line |
9709 | … talledPackages = PackageManagement\Install-Package @PSBoundParameters
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The following commands are already available on this system:'Get-Uptime'. This module
| 'windows-screenfetch' may override the existing commands. If you still want to install this module
| 'windows-screenfetch', use -AllowClobber parameter.
This is probably due to a naming conflict in Data.psm1, I will try addressing this in the next major build