tag:blogger.com,1999:blog-546036873798832453.post3899683454988410929..comments2023-10-09T06:28:49.766-07:00Comments on PowerShell Scripts Blog: New-Task.ps1Unknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-546036873798832453.post-24781264401034561352011-03-30T01:23:30.943-07:002011-03-30T01:23:30.943-07:00David,
Thanks for the comment. The purpose of thi...David,<br /><br />Thanks for the comment. The purpose of this blog, and this sample, is to show how you can use PowerShell and the underlying components can be used. In this case, I was using the COM object schedule.service to re-implement an MSDN sample.<br /><br />As with everything PowerShell, there are always multiple ways to do almost anything!<br /><br />Thanks for the comment.Thomas Leehttps://www.blogger.com/profile/05591926562143348089noreply@blogger.comtag:blogger.com,1999:blog-546036873798832453.post-79685279875905908412011-03-29T17:34:26.245-07:002011-03-29T17:34:26.245-07:00Why not use schtasks.exe that they give you, you c...Why not use schtasks.exe that they give you, you can create a task with one line. You can then make it run as System with one more line. Then you can execute the task with one more line.<br /><br />Much easierDavidhttps://www.blogger.com/profile/04662274520615231393noreply@blogger.com