Powershell 3 function scheduler