#################################################################################################### # 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\ # # FailSafe Setting is: # #################################################################################################### 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 = 3 #==================================================================================================# ########################################### helper apps ############################################ #==================================================================================================# #################################################################################################### # Define the Directory, where XenCenter was installed to. # # At least Version 7 or higher, of XenCenter was required! # # FailSafe Setting is: Script trys to get the Path from the Windows Registry. # # Example: D:\ProgramFiles\Citrix XenCenter # #################################################################################################### XenCenterAppDir = puttyAppDir = shutdownAppDir = XenServerRunningVMsRegEx = name-label[\s]{1}\([\sa-zA-Z]{3}\)\:[\s]{1}([a-zA-Z0-9\-_\ ]{0,}[^Control domain on host:][^\s]) #==================================================================================================# ######################################### Profile settings ######################################### #==================================================================================================# #################################################################################################### # Define up to 99 MoveOrCopy Profiles in this config file for the executing Script. # # Syntax: # # XenServer_Profile = move|copy ; *., ; ; # # Example: # # XenServer_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath # #--------------------------------------------------------------------------------------------------# # Special Parameter: 3 - # # -> Instead of the SourcePath you can write "%ProcessOnlyLastProfileFiles". # # If you do so, the files from the last Profile run will be processed by the current Profile. # # Because of this the set up FileType will be ignored! # # MOCF_Profile = move ; *.* ; %ProcessOnlyLastProfileFiles ; E:\DestinationPath # #--------------------------------------------------------------------------------------------------# # Optional Parameter: %FileDelayAge # # Numerical value how old (in minutes) must be a File to be processed. # # If you not using this Parameter, Script will use FileDelayAge Setting from the general setting. # # Example: # # MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath ; %FileDelayAge15 # #--------------------------------------------------------------------------------------------------# # Optional Parameter: %RegExGroup # # Regular Expression with selects the definied GroupNumber. Group 1 to 9 are available. # # Only defined RegEx Groups will be found, by this setting. Define Groups by using () in RegEx. # # If RegEx setting is matching file(s), the DestinationPath will be added with the \ # # Example: # # MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath ; # # %RegExGroup1(?:%SCAN%&(DD-[a-zA-Z-]{1,})) # #--------------------------------------------------------------------------------------------------# # Optional Parameter: %Replace, # # String which you can set to be replaced with an other String, or a blank Value. # # Replace setting will affect even results from the RegEx setting. # # Example: # # MOCF_Profile = move ; *.pdf ; E:\SourcePath ; E:\DestinationPath ; %Replace%SCAN%&, # #--------------------------------------------------------------------------------------------------# # 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: # # powershell.exe -command "E:\MoveOrCopy.ps1 -argOperation copy -argFileTypes *.pdf # # -argSourcePath E:\SourcePath -argDestinationPath E:\DestinationPath -argFileDelayAge 15" # #################################################################################################### #Example: XenServer_Profile = 172.24.8.6 ; root ; 492110192 ; Windows_Profile = 172.24.11.11 ; Administrator ; admin ; Wait4Shutdown XenServer_Profile = 172.24.8.6 ; root ; 492110192 ; Wait4Shutdown ; SortSequence=db,com,aps ; Skip=dc ; FullShutdown Linux_Profile = Linux ;