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