Hi, I want to accomplish this with DSC (I assume classic script will do the job here too).
Uninstall SCOM agent
Uninstall MECM client
Remove server from domain
I guess other two steps such as removing server from all Veeam backup jobs/removing VM from vSphere are doable with DSC as well using DSC Resources. I have already used DSC but mostly for basic monitoring of services/IIP App Pools. Any help would be appreciated.