Forum Discussion
Tonje Waasjø
Jan 23, 2021Copper Contributor
Powershell error: Could not load file or assembly
I'm trying to install a solution from github and I get the error: Import-Module : Could not load file or assembly 'file:///C:\Users\...\SharePointPnPPowerShellOnline\SharePointPnP.PowerShell.Online...
- Jan 25, 2021
The problem is sloved. It was caused by the zip-file being blocked by your operating system. Sloved it by using 7Zip
Jan 25, 2021
Hi Tonje Waasjø
In that case, I believe you will need the previous version for Windows PowerShell and not the new version for PowerShell Core.
Install-Module SharePointPnPPowerShellOnline |
Documentation still seems to be available:
Tonje Waasjø
Jan 25, 2021Copper Contributor
The problem is sloved. It was caused by the zip-file being blocked by your operating system. Sloved it by using 7Zip