Quantcast
Channel: Operations Manager - General forum
Viewing all articles
Browse latest Browse all 11941

Alert to unlock a service account

$
0
0

Hi,

I have created a monitor to alert when a certain service account gets locked out and would like to create a recovery task to unlock the account.

I think I could do VBScript to do this but feel like I should go down the PowerShell route which I have just started trying to learn. If I did this would I need to somehow copy/import the ActiveDirectory powershell module on the SCOM management servers so I could then use the "Unlock-ADAccount"? Or is PowerShell a longer way of doing this??

Also what is the relevance of the "file name" on the script tab? I presume I just paste my script in the script section. Is this just a name to give it when it "runs"?

thanks


Viewing all articles
Browse latest Browse all 11941

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>