I asked this in the exchange->monitoring forum but was asked to ask on this forum, so here it goes:
Exchange 2013 with 2 member DAG. We want to have the checkdatabaseredundancy.ps1 script monitor our DAG and send an email to admins with reports of the monitoring. I see you need to edit the Send-HANotificationMailCorpHub function and/or the Get-SmtpClients function. Question is, how do you do this correctly? When i supply a string, the script gives me a red mark as if something is wrong. Example:See the red squiggly line between the comma and the "E"? How exactly do i enter the info into this script? Do i make my edits after the comma or do i need to edit the variables/arguments (from the example above $title) with the needed info