This is a very old thread, but since I found it, although I was looking for the same problem, I thought I mentioned how I solved it.
First, the problem is how I survived it:
I had PowerShell 2.0 in Windows 7, then choco was used to install / upgrade in PowerShell 4.0:
choco upgrade powershell
This upgraded my system to 4.0, but when I opened PowerShell, the update broke most of the basic cmdlets, such as Get-ChildItem (aka dir).
After I worked a bit on the Internet, I decided to reinstall it from the MS website ... but first I removed it from choco.
choco uninstall powershell
And since it was a choco that broke it to start, I thought I would give another attempt to install it with the following command:
choco install powershell
And low, this fixed the problem. So I stopped. Hope this helps someone. Good luck
source share