Write Top 10 Memory Consuming Processes to OpsMgr Event Log

A simple script that uses WMI to find top 10 processes (working set) and writes them out to the OpsMgr Event Log. Suitable for an agent task in OpsMgr 2007 or OpsMgr 2012.