PowerShell Rule and Monitor Template packs MP including fragments
Hit the easy button!
For all those diehard SCOM Console MP authoring folks, don't forget about Wei Lim's blogs to help add PowerShell script functionality into rules and monitors.
PowerShell Rules Blog https://blogs.msdn.microsoft.com/wei_out_there_with_system_center/2015/09/28/opsmgr-new-sample-powershell-collection-rule-wizards-in-the-ops-console/
PowerShell Monitor blog https://blogs.msdn.microsoft.com/wei_out_there_with_system_center/2015/07/09/opsmgr-new-sample-wizard-to-create-powershell-monitors-in-the-ops-console/
Performance Data blog https://blogs.msdn.microsoft.com/wei_out_there_with_system_center/2015/10/03/opsmgr-collecting-performance-data-using-a-powershell-script-collection-rule-created-from-a-wizard/
Download Rule https://gallery.technet.microsoft.com/Sample-Management-Pack-e48040f7
Download Monitor https://gallery.technet.microsoft.com/Sample-Management-Pack-17b76379
If authoring with Visual Studio or Notepad++, don't forget Holman's MP fragments!
Discover Class = Class.And.Discovery.Script.PowerShell.mpx
Monitor Timed Script PowerShell = Monitor.TimedScript.PowerShell.mpx
Monitor Timed Script SQL Query PowerShell = Monitor.TimedScript.PowerShell.SQLQuery.mpx
PowerShell Performance Rule = Rule.Performance.Collection.PowerShellScript.mpx
Download fragments here
Happy MP Authoring!