Thursday, January 8, 2015

Execute Powershell script from Batchfile

Executing powershell script can be handy specially you want to schedule it using windows scheduler

It's Simple :


  • Create .bat file
  • Edit file with notepad
  • Add line
    •    powershell  filepath\yourscriptname.ps1
  • Save and Close file
  • Your powershell script is ready to run next time , when execute bat



No comments:

Post a Comment