Sorry for the late reply back on this and hopefully you didn't get annoyed at my stupidly put together question. So what I meant to ask was are you going to put together an article on getting this function to work in a scheduled task? I figured it all out on my own on Server 2008 and 2016. The method that works in 2008 works on 2008 and 2016. However the method I got to work does not work on 2008. Would it be ok to post my directions on how to do it and reference this article?