RAISERROR ('Script does not match the ProductVersion [%s] of this instance. Many of these queries may not work on this version.' , 18 , 16 , @ProductVersion); EXEC sys.xp_readerrorlog 0, 1, N'detected ...
--Check if any active replication transaction, if no long running replication transactions than run sp_repldone procedure to reset replication flag for log reuse wait ...
I will not cover the entire SCOM installation, but just the part of Databases configuration. Note that the Availability Groups (one or two, depending of your architecture) must be created before the ...