Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

Check 'Enable Mail Profile' on SQL Agent

$
0
0

Hi All,

Is there a programmatic way to check if 'Enable Mail Profile' is enabled for SQL Server Agent for an instance? Rather than going to right-click 'Properties' --> SQL Server Agent, etc on my 100s of SQL instances, I was hoping it was something I could check using a Central Management Server via a T-SQL query...or even better by using a policy and PBM in conjunction with my CMS.

I have seen one article that recommends to use xp_regread to read registry values to get the value but I would prefer not to query the registry directly for these type of administrative checks..

Thanks in advance,


Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>