I have Windows server 2012 installed.
When I open up Powershell ISE I get an error while using SharePoint 2010. IT works fine with SharePoint 2010 management Shell.
Microsoft SharePoint is not supported with version 4.0.30319.34014
So far I have run the 1) SharePoint.ps1 script in the C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration folder in Windows Powershell ise
2) Ran powershell -version 2 in Windows powershell ise
3) C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe " C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\CONFIG\POWERSHELL\Registration\sharepoint.ps1"