Quantcast
Channel: Support Portal
Viewing all articles
Browse latest Browse all 332

Re : Delete Account Custom Script - Username not passed to script?

$
0
0
Hi Mark,

The custom script option under Admin-->Delete Policy allows you to execute a custom script whenever an account is deleted using ADManager Plus. The script requires an argument to pass value to the variable. Define an Argument in the script and the syntax. Also, request you to try executing the script separately in PowerShell and check whether the script executes fine.

For Ex:

powershell c:\AcctScripts\RemoveFDrive.ps1 -Arg1 %userName%

The Result would be C:\AcctScripts\RemoveFDrive.ps1 -ARG1 username of the user

ADManager Plus Team
Toll-Free:+1888-720-9500
Email: support@admanagerplus.com
ADManager Plus - Active Directory Management & Reporting Software

Viewing all articles
Browse latest Browse all 332

Trending Articles