Summary from chocolatey/choco#916
When installing cmake or cppcheck I get the same set of errors. Below is the output.
C:\WINDOWS\system32>choco install -y cmake Chocolatey v0.10.0 Installing the following packages: cmake By installing you accept licenses for the packages. cmake.install v3.6.0 [Approved] The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core, C:\Windows\System32\WindowsPowerShell\v1.0\types.ps1xml(3007) : Error in type "System.Security.AccessControl.ObjectSecurity": Exception: The getter method should be public, non void, static, and have one parameter of type PSObject. The following error occurred while loading the extended type data file: Microsoft.PowerShell.Core,