Add-PSSnapin
As a Sysadmin I have to running scripts repeatedly. Sometimes I am using powershell snapins like ActiveRoles Management Shell or Exchange Management shell. And then annoying message will appear Try to use code bellow in your scripts. You will never see error message again :)