Recently I have written a article which shows the power of WPF UI Automation. This library is really rich and make UI Automation easier.
Here is the article : Automate software using WPF UI Automation
I downloaded powerhsell from Microsoft website (http://support.microsoft.com/kb/968929) and installed it.
After successful installation I restarted computer and then open command prompt and write “Powershell” it shows me error “Add-PSSnapin : The Windows PowerShell snap-in ‘Pscx’ is not installed on this machine.”
To overcome that , download a 3rd party tool Powershell Community Extension from (http://pscx.codeplex.com/) and Install it. That will automatically override Profile.ps1 which was installed by powershell installation and will fix the problem.
Microsoft should add that in the installer.
As I am working with latest version of Powershell, when I tried to install latest version in XP I found that older version of powershell is available in software update for XP it is easy to find out and remove. But I really faced a big problem when I tried to install that in windows server 2003. I found all the software updates are named “Update of windows Server…” or “Security Update for windows server …” or “Hotfix for windows server 2003 …”. Its really hard to find out the right one and remove. After searching I found that I need to search for KB* to remove the older version.
Older version of powershell should be resembled any of the following
So find out the right one and remove it. Sometime it shows like that KB926139-v2, so don’t be confused. And after click on remove it will show you in the wizard that you are removing poweshell version 1.0 or anything else to be confirm you are really removing the right thing.