Hello,
I am wondering if powershell would be useful for a problem that arises every so often.
We have a Domain Controller that has tasks that need to run every hour, the tasks are run under a DBA account. every so often the account seems to log out, (i blame the network guy) The task should run even if the account is not logged on but does not, i believe this is a permission based problem. (i Blame the Security guy).
I need to be able to check to see that it is logged on and if not log the DAB account on using credentials stored as secure string. At the least i would need to check say every five minutes if user is logged on if not send email (i have the send email task solved) I think i could muddle through this but want to know if anybody has done this before and hear multiple suggestions.
(i dont really blame any one we all have our jobs to do and standards to follow...except the network guy)
Thank you if you deem this worth answering.