I am writing a PowerShell script that will be polling the contents of out logging databases. I would like to be able to determine what queries should be run based on the name of the executing monitor. Is there a way to get the name of that monitor via the "$mon" object? I know that you can get ALL the monitors that are assigned to the server, but how do I know what the name of the current monitor is? asked 10 Oct '16, 09:20 TheSemicolon |
No one has an the answer to this one?