Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't load 12.3.0.81 on PS 7.4.0 #97

Open
scaleoutsean opened this issue Dec 10, 2023 · 0 comments
Open

Can't load 12.3.0.81 on PS 7.4.0 #97

scaleoutsean opened this issue Dec 10, 2023 · 0 comments

Comments

@scaleoutsean
Copy link
Contributor

Even if I re-install the module, I still can't load it on PowerShell 7.4.0.

  • PS Tools version: 12.3.0.81
  • PowerShell 7.4.0
  • Ubuntu 22.04.3 LTS
PS > Install-Module -Name SolidFire.Core -Verbose                          
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: The -Repository parameter was not specified.  PowerShellGet will use all of the registered repositories.
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='SolidFire.Core'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'SolidFire.Core'.
VERBOSE: Skipping installed module SolidFire.Core 12.3.0.81.

PS > Get-Module -Verbose                                                   

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Manifest   7.0.0.0               Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-Item, Clear-ItemProperty…}
Manifest   7.0.0.0               Microsoft.PowerShell.Utility        {Add-Member, Add-Type, Clear-Variable, Compare-Object…}
Script     1.4.8.1               PackageManagement                   {Find-Package, Find-PackageProvider, Get-Package, Get-PackageProvider…}
Script     2.2.5                 PowerShellGet                       {Find-Command, Find-DscResource, Find-Module, Find-RoleCapability…}
Script     2.3.4                 PSReadLine                          {Get-PSReadLineKeyHandler, Get-PSReadLineOption, Remove-PSReadLineKeyHandler, S…

PS > Import-Module -Verbose SolidFire.Core
VERBOSE: Loading module from path '/home/ubuntu/.local/share/powershell/Modules/SolidFire.Core/12.3.0.81/SolidFire.Core.psd1'.
VERBOSE: Populating RepositorySourceLocation property for module SolidFire.Core.
VERBOSE: Loading module from path '/home/ubuntu/.local/share/powershell/Modules/SolidFire.Core/12.3.0.81/SolidFire.dll'.
Import-Module: Assembly with same name is already loaded

PS > Connect-SFCluster -Target 192.168.1.30 -Username admin -Password admin
Connect-SFCluster: The term 'Connect-SFCluster' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Ubuntu 22.04.3 LTS
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant