Windows DatabaseebooksStatistical Information

LWE10017 : Schedule automatic export of Active Directory structure and objects with AT job and csvde

Symptom:

none

Cause:

none

Solution:

With AT you can schedule automatic jobs. To export AD you can use the following code and save it as a cmd file.

at 20:30 /every:Mo c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Montag.csv
at 20:30 /every:Di c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Dienstag.csv
at 20:30 /every:Mi c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Mittwoch.csv
at 20:30 /every:Do c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Donnerstag.csv
at 20:30 /every:Fr c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Freitag.csv
at 20:30 /every:Sa c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Samstag.csv
at 20:30 /every:So c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Sontag.csv

Save it as CMD and execute it. You can than check for execution, it should look like:

Statuskenn. Tag                     Zeit          Befehlszeile
-------------------------------------------------------------------------------
        1   Jeden Mo                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Montag.csv
        2   Jeden Di                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Dienstag.csv
        3   Jeden Mi                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Mittwoch.csv
        4   Jeden Do                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Donnerstag.csv
        5   Jeden Fr                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Freitag.csv
        6   Jeden Sa                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Samstag.csv
        7   Jeden So                20:30         c:windowssystem32cmd.exe /c csvde -m -f c:AD-exportAD-export-Sontag.csv

 


Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics