Don't have Telegram yet? Try it now!
https://anaops.com/2018/08/22/authoring-powershell-scom-console-tasks-in-xml-ruben-zimmermann/
Authoring PowerShell SCOM Console Tasks in XML - Ruben Zimmermann