Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 8820

Schedule Task with PowerShell v1.0

$
0
0

Hi,

I have a command I run once a month from the Command line on one of my Windows 2003 Servers.  I want to automate this using PowerShell.  The command is just 3 words and it runs a process that takes about 30 to 35 minutes.  I want to use Schedule Task to run this using PowerShell.  I have tested this just running it from PowerShell and it works and I have it piping to a txt file which that works as well.  Now for the schedule task side is where I am having problems I have the command in PowerShell and I have the Schedule Task pointed for run to the file that has the command in it.  But it will not run can some one help with this.  I am sure I am missing some other commands or coding to get this to work.

Thank You,

Frank


Viewing all articles
Browse latest Browse all 8820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>