Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

What is the best way to run a powershell script with parameters in the Task Scheduler?

$
0
0

Hello, 

Want to run the following from a scheduled task in the Task Scheduler on a server.  What is the best approach?

.\pscript.ps1 -csvfile "\\Srv1\Share\File.txt"


Thanks for your help! SdeDot


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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