GettingPnpOnlineShellInSharePoint

sns 9,246 Reputation points
2022-01-16T12:24:29.407+00:00

Please help me to get list of PnpPower Shell with the help PNP powershell module from SharePOint online powershell
I can not find that PnP in the list, Please refer below screenshot and help. Thank u
165299-howdoigetpnpmodulehere.png

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

Accepted answer
  1. JoyZ 18,111 Reputation points
    2022-01-17T06:45:22.51+00:00

    @sns ,

    Run Get-InstalledModule to make sure you have installed pnp powershell in this computer:

    165448-image.png

    Then you will find it in command Add-on:

    165449-image.png

    ------------------------------------------------------------------Update--------------------------------------------------------------------

    If you still cannot see the module, please run Get-module -ListAvailable to check the installed Path, in my case, the PnP PowerShell module was installed at “C:\Program Files\WindowsPowerShell\Modules”.

    167167-image.png

    • Then go to System Properties (Windows Key + Pause Break) >> Click on Advanced System Settings >> Click on Environment Variables:

    167210-image.png

    • Pick “PSModulePath” and click on “Edit” button:

    167186-image.png

    • Append the path to this variable. In my case, its “C:\Program Files\WindowsPowerShell\Modules”, separated by ; (semicolon)
    • Restart PowerShell ISE or PowerShell console

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.