Tagged: Powershell

fig : Microsoft 365 - PnP PowerShell module - errors 0

Microsoft 365 – PnP PowerShell – resolving error – Import-Module : Could not load file or assembly ‘System.Management.Automation, Version=7.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified OR – The ” command was found in the module ‘PnP.PowerShell’, but the module could not be loaded.

In this article we will resolve two PnP.PowerShell module errors

1. The ” command was found in the module ‘PnP.PowerShell’, but the module could not be loaded. For more information run ‘Import-Module PnP.PowerShell’

2. Import-Module : Could not load file or assembly ‘System.Management.Automation, Version=7.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified

HAVE A FANTASTIC LEARNING AHEAD

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!!!

Microsoft 365 - Complete PowerShell script - to add user as a Site Collection Administrator 0

Microsoft 365 : SharePoint Online – PowerShell script to add / remove given user as Site Collection Administrators

Sharing one more PowerShell script – Adding / Removing given user as Site Collection Administrator to the given site

HAVE A FANTASTIC TIME AHEAD 🙂 LIFE IS BEAUTIFUL 🙂

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 🙂

%d bloggers like this: