Tagged: Microsoft 365 – PnP 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 🙂