Service Desk Practitioners Forum
cancel

Import of Users from AD to be scheduled in SD 4.5

Highlighted
HPOV_1
Respected Contributor.

Import of Users from AD to be scheduled in SD 4.5

Hi,
We have SD4.5 on win 2003 and SQL 2000 as a database, I am able to import users from AD by using Data exchange, but now i wat to schedule the same by using command line.
Can any one guide me to give the command lien which I can use to schedule it via win scheduler.

Regards,
Amit
2 REPLIES
MarkvL
Acclaimed Contributor.

Re: Import of Users from AD to be scheduled in SD 4.5

Hello Amit,

You can create a batch file and schedule that, here is a small example.

--------------------------------------------
@ECHO OFF

CD "C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\client\bin"

CALL sd_export.bat -f PERSONS.ini" -x PERSONS.xml -l PERSONS_exp.log

CALL sd_import.bat -data=PERSONS.xml -mapping=PERSONS -logfile=PERSONS_imp.log -recofile=PERSONS_old.xml -notimestamp -close

EXIT
--------------------------------------------
Mark
HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
HPOV_1
Respected Contributor.

Re: Import of Users from AD to be scheduled in SD 4.5

thanks for ur reply...i ll try it...
but anyways wat i can remember that we can run the same via command line too...
any one here is doing to import users by scheduling please suggest

Amit