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
PS C:\WINDOWS\system32> Install-Module -Name LifxLAN
PackageManagement\Install-Package : Für die angegebenen Suchkriterien und den Paketnamen "LifxLAN" wurde keine
Übereinstimmung gefunden. Verwenden Sie Get-PSRepository, um alle verfügbaren, registrierten Paketquellen anzuzeigen.
In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 Zeichen:21
PS C:\WINDOWS\system32> Install-Module -Name LifxLAN -AllowPrerelease
Install-Module : Es wurde kein Parameter gefunden, der dem Parameternamen "AllowPrerelease" entspricht.
In Zeile:1 Zeichen:30
I'm pretty sure this is an issue that Windows PowerShell (emphasis on Windows PowerShell aka 5.1) exposes as the PowerShellGet module was updated in PowerShell 6.0, and then subsequently updated in v7. The full explanation is over here on Microsoft Docs "Installing PowerShellGet on Windows"
The short of it is that in order to use the "AllowPrerelease" switch, you need to force update your PowerShellGet module. Once you do this, you should be able to install any module (and in turn any edition of a module) you want from the PowerShell Gallery.
PS C:\WINDOWS\system32> Install-Module -Name LifxLAN
PackageManagement\Install-Package : Für die angegebenen Suchkriterien und den Paketnamen "LifxLAN" wurde keine
Übereinstimmung gefunden. Verwenden Sie Get-PSRepository, um alle verfügbaren, registrierten Paketquellen anzuzeigen.
In C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 Zeichen:21
ception
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Install-Module -Name LifxLAN -AllowPrerelease
Install-Module : Es wurde kein Parameter gefunden, der dem Parameternamen "AllowPrerelease" entspricht.
In Zeile:1 Zeichen:30
The text was updated successfully, but these errors were encountered: