Script to remove Labtech from Mac OS

Looking for a script to remove a Labtech agent from a Mac? At the time of this blog, I’m running macOS High Sierra 10.13.6 and this did the trick: This is your huckleberry.