I've recently been involved in deploying some new SCOM 2019 environments for our customers and I thought it'd be a good time to publish an updated version of my original SCOM Prerequisites PowerShell script.
This SCOM prerequisites script is a lot simpler than my previous one and I've updated it to remove the requirement for .NET 3.5 Framework components as well as grabbing the new download locations for the updated versions of SQLSysClrTypes and Report Viewer.
If you have internet connectivity, the script will automatically download and install the SQLSysClrTypes and Report Viewer files from Microsoft's download site.
I've created two scripts to assist you (specific to the SCOM role you're deploying) and you can download them directly from my GitHub repo here:
https://github.com/kgreeneit/scom/tree/main/SCOM-2019/prereq-scripts
Enjoy!