Home Forums SQL Server 2005 Administering How to notify when SQL Server Agent stopped automatically? RE: How to notify when SQL Server Agent stopped automatically?

  • use the Get-Service cmdlet, for the service in question, then google for a smtp powershell function and build it up that way,

    if you get stuck come back with your script so far and I will see where your going wrong.