Skip to content

"Install-Module PnP.PowerShell" does not working and get an error. #38

@maciejkukulka

Description

@maciejkukulka

Notice

PS C:\Windows\System32> Install-Module PnP.PowerShell
Install-Package: C:\powershell-7.1.0-win-x64\Modules\PowerShellGet\PSModule.psm1:9711
Line |
9711 |  … talledPackages = PackageManagement\Install-Package @PSBoundParameters
     |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | No match was found for the specified search criteria and module name 'PnP.PowerShell'. Try
     | Get-PSRepository to see all available registered module repositories.

Reporting an Issue or Missing Feature

Reporting Issue

Expected behavior

Want to install module PnP.PowerShell

Actual behavior

Getting an error like the one above.

Steps to reproduce behavior

Just Install-Module PnP.PowerShell

What is the version of the Cmdlet module you are running?

PS C:\Windows\System32> Get-Module -Name sharepointpnppowershell* -ListAvailable

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Binary     3.26.2010…            SharePointPnPPowerShellOnline       Desk      {Add-PnPAlert, Add-PnPApp, Add-PnPAppli…
Binary     3.25.2009…            SharePointPnPPowerShellOnline       Desk      {Add-PnPAlert, Add-PnPApp, Add-PnPAppli…

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions