119 lines
9.5 KiB
INI
119 lines
9.5 KiB
INI
####################################################################################################
|
|
# Digital Data Configuration File (Template Date: 30.07.2016) #
|
|
# UTF-8 Coding required! #
|
|
# incl. FailSafe functions that are active when information is missing. #
|
|
####################################################################################################
|
|
|
|
#==================================================================================================#
|
|
########################################## General Setup ###########################################
|
|
#==================================================================================================#
|
|
|
|
####################################################################################################
|
|
# Path in which the log files will be stored. #
|
|
# Example: E:\LogFiles\<ScriptName> #
|
|
# FailSafe Setting is: <ScriptPath>\Logs #
|
|
####################################################################################################
|
|
LogPath =
|
|
|
|
####################################################################################################
|
|
# Numerical value how long (in days) log files will be kept. ValidateRange is 0 - 1000 #
|
|
# Setting the Value to 0 disables this Function. #
|
|
# FailSafe Setting is: 60 #
|
|
####################################################################################################
|
|
LogFileKeepTime = 30
|
|
|
|
#==================================================================================================#
|
|
##################################### User specified setting #######################################
|
|
#==================================================================================================#
|
|
|
|
####################################################################################################
|
|
# Switch setting: Should a new created User be enabled, or not? #
|
|
# Example: True #
|
|
# FailSafe Setting is: False #
|
|
####################################################################################################
|
|
Enabled = True
|
|
|
|
####################################################################################################
|
|
# Switch setting: Can a new created User change his Password? #
|
|
# Example: True #
|
|
# FailSafe Setting is: False #
|
|
####################################################################################################
|
|
PasswordCannotChanged = False
|
|
|
|
####################################################################################################
|
|
# Switch setting: A new created User must change his Password, after first logon? #
|
|
# Example: True #
|
|
# FailSafe Setting is: False #
|
|
####################################################################################################
|
|
PasswordChangeAtLogon = False
|
|
|
|
####################################################################################################
|
|
# Switch setting: Can the Password of the new created User, expire? #
|
|
# Example: True #
|
|
# FailSafe Setting is: False #
|
|
####################################################################################################
|
|
PasswordNeverExpires = True
|
|
|
|
####################################################################################################
|
|
# Switch setting: If the SourceFile includes no Password for the User, should Script generate one? #
|
|
# Example: True #
|
|
# FailSafe Setting is: True #
|
|
####################################################################################################
|
|
PasswordCreation = True
|
|
|
|
####################################################################################################
|
|
# If PasswordCreation is set True, define the length of the new Password(s). #
|
|
# Setting the Value to 0 disables this Function. #
|
|
# Example: 8 #
|
|
####################################################################################################
|
|
PasswordCreationLenght = 8
|
|
|
|
#==================================================================================================#
|
|
########################################## Profile Setup ###########################################
|
|
#==================================================================================================#
|
|
|
|
####################################################################################################
|
|
# Define Profiles in this config file for the executing Script. #
|
|
# Syntax: #
|
|
# Profile = <ImportMethode> ; <SourceFile> #
|
|
# Example: #
|
|
# Profile = BulkImport ; SourceFile.csv #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# First Parameter: <ImportMethode> #
|
|
# Set the way, Script is reading the SourceFile. #
|
|
# Currently only the BulkImport is available. #
|
|
# Example: BulkImport #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Second Parameter: <SourceFile> #
|
|
# Set the full path and name to the file which includes the list of users. #
|
|
# Make sure, file is .csv and value separation is done by ";". #
|
|
# The internal column allocation is: #
|
|
# Column1 = UserName ; Column2 = PreName ; Column3 = SurName ; Column4 = UserPassword ; #
|
|
# Column5 = E-Mail Adress ; Column6 = Description #
|
|
# Only Column1 is mandatory, the other Columns are optional. #
|
|
# Example: E:\UserList.csv #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Optional Parameter: %ImportPathAD=<OU=OUName>,<DC=DomainName>,<DC=DomainSuffix> #
|
|
# Determ the TargetPath in your Active Directory (part of the distinguishedName). #
|
|
# If you dont use this Parameter, TargetPath will be the "Users" Folder by default. #
|
|
# Example: OU=Testuser,DC=domainname,DC=local #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Optional Parameter: %ReportFile=<Path>\<FileName>.csv #
|
|
# By setting this Parameter, you get a overview file, which includes every created User, #
|
|
# with all available data (UserName, PreName, Surname, Password ...) #
|
|
# Example: %ReportFile=E:\ReportFile.csv #
|
|
#--------------------------------------------------------------------------------------------------#
|
|
# Argument call: #
|
|
# If you need to run the Script with dynamic Values, you can do so, by calling it with arguments. #
|
|
# Even the Special and Optional Parameters are available in this case. #
|
|
# Example: #
|
|
# This Function is currently not implement! #
|
|
####################################################################################################
|
|
|
|
#Profile = BulkImport ; SourceFile.csv ; %ImportPathAD=OU=Testuser,DC=dd_vmx09_vm01,DC=local ; %ReportFile=ReportFile.csv
|
|
#Profile = BulkImport ; C:\Users\Administrator\Desktop\New-ADUser-from-File\SourceFile.csv ; %ImportPathAD=OU=Testuser,DC=dd_vmx09_vm01,DC=local ; %ReportFile=e:\ReportFile.csv
|
|
|
|
|
|
|
|
|