A while back I trialed a powershell editor called Powershell Plus. It was made by the company called idera. I really liked it, as it was really helpful editor to debug powershell scripts. It also had loads of sample powershell code too.
They have just announced that it is now free. You can get your own copy here if you wish.