Hi @Julian ,
This should be possible to do with SCOM, you can use SCOM to trigger the scripts that checks the SQL Server setting for autogrowth, file growth and maximum file size.
You will first need to figure out how to query the above, once you have the script working you can create either a monitor or rule (depending on your need) in SCOM that triggers the script.
If you create for example a two-state monitor, you can define which of the setting/threshold is "Healthy" and which is "Unhealthy", for example:
- AutoGrowth is enabled = Unhealthy
- AutoGrowth is disabled = Healthy
If you want to write the script in PowerShell, you can make use of Cookdown's PowerShell authoring management pack which allows monitors, rules and tasks to run PowerShell scripts.
There's a webinar video in the link which you can have a look at to learn how to create a sample monitor that triggers a PowerShell script.
----------
(If the reply was helpful please don't forget to accept as answer, thank you)
Best regards,
Leon