To run a powershell script from a scheduled task the following can be used:
C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe “& ‘c:\scripts\Send-ExchangeServerSummary.ps1′”