Sunday, March 2, 2014

How to use a PowerShell script within a scheduled task entry

If you wish to use a PowerShell script within a scheduled task entry within a Windows Server such as 2008 R2 or 2012 R2, use the following syntax.

powershell -nologo  -noninteractive script path

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.