-
I do Update-Module -Name PnP.PowerShell but get-Module PnP.PowerShell Shows version 0.3.28 ModuleType Version Name ExportedCommands Manifest 0.3.28 PnP.PowerShell {Add-PnPAlert, Add-PnPApp, Add- So did it update or not? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello, Based upon the information presented, it would seem that you local environment did not update. It will help you to also observe carefully into, which Directory or Path, the PnP.PowerShell module was installed. It may then become a little complicated, because it depends what version of PowerShell you are using eg. Windows PowerShell 5 or Powershell 7 and what version of the PowerShellGet module you are using: Also be aware of the information in the articles that are available at https://pnp.github.io/powershell/articles/upgrading.html Once you do an Install for a module, you generally do not need to do it again (unless for example you uninstall all versions of that module because you want to start clean). After the initial Install of the module you could just issue update module commands) for example: Hope this information assists you somehow to determine the problem you are experiencing further. |
Beta Was this translation helpful? Give feedback.
Hello,
As at this moment, the latest version is version 1.2.4-nightly but that is considered a Prerelease version.
The latest main version is 1.2.0.
You can always see for yourself:
find-Module -Name PnP.PowerShell -AllowPrerelease -AllVersions
Based upon the information presented, it would seem that you local environment did not update. It will help you to also observe carefully into, which Directory or Path, the PnP.PowerShell module was installed.
get-Module -Name PnP.PowerShell -ListAvailable | select-Object -Property Name, Version, Path
It may then become a little complicated, because it depends what version of PowerShell you are using eg. Windows PowerShell 5 or Powershell 7 and wha…