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