PnP Power Shell to Connect with the SharePoint Site and Perform Basic Operations Using PNP Powershell

Loading

Requirement: How to connect with SharePoint Site and when we are connecting we need to pass the credentials, what are the different ways to pass the credentials in the PNP PowerShell and will perform some basic operations using PNP PowerShell for SharePoint Online.

Connect the SharePoint Site Using Below mentioned Script.

 Connect-pnPOnline -Url Use Your SharePoint URL Here -weblogin or Interactive

Click on Run button. It will displays a popup window to login to your Microsoft account we need to pass the login credentials, It will go to the SharePoint.

we want to get the SharePoint Site using pnP Power Shell using below code in Script panel

Get-pnPSite

Click on Enter. It will Show the Site details, we can able to see Site information

To get the list which are available inside the Site we can use below motioned Script.

Get-pnPlist

After writing this Press Enter. Then will get all the lists inside the site.

We don’t know about the commandlets which are available within this module, Go to the help and from the help you can able to see Show command window from the show command window. We can see all the Module’s which are installed in your system.

Leave a Reply

Your email address will not be published. Required fields are marked *