This KB will show you how to run Exchange Server 2007 cmdlets using PowerShell ISE console.
All you need is to add a line of code below to your ISE script or cmdlet:
Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.Admin
For Exchange 2010 add the line below:
Add-PSSnapIn Microsoft.Exchange.Management.PowerShell.E2010