Category: PNP PowerShell

fig : Complete PowerShell script to download specific version of given document / file 0

Microsoft 365 – PnP PowerShell – Getting/downloading version of document – resolving error related to version history – Sorry, something went wrong – looks like we cant show the version history for this file right now

In this article we will discuss
1. Prerequisites to connect SharePoint online using PnP PowerShell
2. How to connect SharePoint online using PnP PowerShell
3. How to read file (document) / get file object using PnP PowerShell
4. How to get version history of file (document) using PnP PowerShell
5. How to read the content of file using PowerShell
6. How to download specific version of document / file using PnP PowerShell

HAVE A FANTASTIC LEARNING AHEAD 🙂

fig : PowerShell - snap of complete script and output 0

Small Tricks and Tips : Microsoft 365 – PnP PowerShell – Breaking permission inheritance on subsites, all lists and list items

In this article we will discuss – how to break inheritance on SharePoint online subsites, lists and listitems using PnP PowerShell.

HAVE A GREAT LEARNING AHEAD!!!

fig : Microsoft 365 - Connect-PnPOnline - exception while connecting to site, this exception is because MFA is enabled for the current user 2

Microsoft 365 : PowerShell – Connect-PnPOnline – resolving error – AADSTS50126: Error validating credentials due to invalid username or passwordMicrosoft – even though user name and password are correct

In this article we will discuss – how to resolve error while connecting to SharePoint using Connect-PnPOnline

We will also discuss how to connect SharePoint site using Connect-PnPOnline when MFA is enabled

HAVE A FANTASTICE LEARNING AHEAD!!!

PnP PowerShell to remove SharePoint online file 0

Microsoft 365 : SharePoint Online – PowerShell script to delete file using PnP PowerShell

In this article we will discuss how to remove any file on given path using PnP PowerShell.

HAVE A FANTASTIC TIME AHEAD 🙂

0

Microsoft 365: Get Site Collection Administrators in SharePoint Online and Export to CSV using PowerShell

Microsoft 365: Get Site Collection Administrators in SharePoint Online and Export to CSV using PowerShell

0

Microsoft 365 : SharePoint Online – Add Events in a SharePoint online site through PowerShell.

Microsoft 365 : SharePoint Online – Add Events in a SharePoint online site through PowerShell

0

Microsoft Teams : Fetching all Teams using Microsoft Graph API through PowerShell

Microsoft Teams : Fetching all Teams using Microsoft Graph API through PowerShell

M365 - PowerShell script - to add user group "Everyone except external user" to Site Visitors group 0

Microsoft 365 – PowerShell script – Adding users group – “Everyone except external users” to sites visitor group using PnP PowerShell CMDLET

Microsoft 365 – PowerShell script – Adding users group – “Everyone except external users” to sites visitor group using PnP PowerShell CMDLET

PowerShell script for creating SharePoint group in SharePoint site collection 1

Microsoft 365 : SharePoint Online – PowerShell script – PowerShell script to create SharePoint group in a given site collection

Small but important PowerShell script :

PowerShell script for creating SharePoint group in SharePoint site collection

Microsoft 365 – Connecting to Microsoft tenant using PnP PowerShell – Connect-PnPOnline - DeviceLogin parameter 5

Microsoft 365 – Connecting to tenant using PnP PowerShell – Connect-PnPOnline – exploring DeviceLogIn (Device code flow) parameter- Part 2

In last article – we discussed few approaches / options for connecting SharePoint site / generating context using PnP Connect-PnPOnline cmdlet.

In this article we will discuss about -DeviceLogIn parameter or DeviceCodeFlow