PowerShell Execution On TaskScheduler


hello gurus,

i have power shell script collects metrics windows servers , inserts them mysql database , send emails based on conditions. now, strange part when execute manually database part , email part works desire. when put script in task scheduler task scheduler executes script , sends the  email ignores execute database part. reason ?

thanks,

rama

check account you're running task under. make sure has proper permissions write database.

don't retire technet!



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

server manager error: ADAM.events.xml could not be enumerated.

Cannot access Anywhere Access using domain name?

WMI Failure: Unable to update Local Resource Group