Home Forums SQL Server 2008 SQL Server 2008 Administration How can we save ".PS1" file as ".Bat" file and schedule it using windows scheduler ? RE: How can we save ".PS1" file as ".Bat" file and schedule it using windows scheduler ?
Joy Smith San
SSC-Insane
Points: 24877
More actions
August 12, 2015 at 2:59 am
#1819239
Thanks.
I scheduled it almost the same way as of now.
Set following params in the schedule.
Program/Script=powershell.exe
Add arguments (optional)=process.ps1
However, I would prefer to convert it as .bat file and schedule it.
Thanks,
San.