PowerShell Schedule Task
Handian Sudianto
4,956
Reputation points
Hello,
I have powershell script to insert some data into SQL server, when i double click on the .ps1 file i can see the data in SQL server.
Then i want to make this script running every hours and i schedule this using windows task scheduler.
But unfortunately when this scrip running as schedule, the task schedule log say the script running successfully but i cannot see any data in the SQL server. Anyone know why?
Sign in to answer