How to enable Scripting Notifications?

How do I modify an environment variable to enable scripting notifications?  I don't see an example here in the docs

https://documentation.red-gate.com/monitor14/setting-up-script-notifications-239668102.html#enabling-script-notifications

Answers

  • Alex BAlex B Posts: 1,158 Diamond 4
    Hi @mdspain,

    This is a Windows environment variable, which can be set in a couple of ways.

    You can either run this on Base Monitor server from an elevated cmd prompt

    [System.Environment]::SetEnvironmentVariable('SQLMONITOR_ScriptAlertResponse','1', 'Machine')

     

    Or do it using the UI via Start > Run > "Edit the system environment variables" > Click Environment variables button near bottom right > set it in the System Environment variables section:

     Kind regards,

    Alex

     

    Product Support Engineer | Redgate Software

    Have you visited our Help Center?
Sign In or Register to comment.