I was using the package manager console in Visual Studio 2015, when I opened the powershell appeared a message if I wanted to run it in an unreliable source file, I clicked yes on this message showed more a 3 times, I clicked on the three times and then this other message appeared.
Translating to Portuguese the summarized message is this:
The shell can not be started, a crash occurred during startup: Errors occurred while loading Microsoft.Powershell.Core, C: \ windows ... \ certificate.format.ps1.xml format data files, the file was ignored because of the following validation exception: The C: \ windows ... \ certificate.format.ps1.xml file can not be loaded by software restriction policies such as those created with Group Policy
How to fix this problem?