2
Reply

Cannot load PSReadline module. Console is running without PS

Prashant Kumar

Prashant Kumar

Nov 30 2017 7:37 AM
318
Hello All,
 
Getting below error when trying to open SharePoint Online Managment Shell.
Cannot load PSReadline module. Console is running without PSReadline.
Import-Module : Errors occurred while loading the format data file:
C:\Program Files\SharePoint Online Management
Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml, , C:\Program
Files\SharePoint Online Management
Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml: The file was skipped
because of the following validation exception: File C:\Program Files\SharePoint Online Management
Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.PowerShell.ps1xml cannot be loaded. A
certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider..
At line:1 char:1
+ Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChec ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Import-Module], RuntimeException
+ FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
Please suggest.

Upload Source Code  Select only zip and rar file.
Answers (2)