http://flinchbot.com/2015/10/30/statistics-manager-powershell-module/