8
0

Added a new module Export-MSSQLServerObjects

This commit is contained in:
2025-09-24 16:26:29 +02:00
parent 1f0d1613a5
commit d46305e91e
4 changed files with 1202 additions and 0 deletions

View File

@@ -0,0 +1,88 @@
####################################################################################################
# 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
#==================================================================================================#
########################################## Profile Setup ###########################################
#==================================================================================================#
####################################################################################################
# Set the ServerName and instance to logon on, with current windows credentials. #
# Example: SDD-VMP04-SQL17\DD_DEVELOP01 #
####################################################################################################
ServerName = SDD-VMP04-SQL17\DD_DEVELOP01
####################################################################################################
# Set the DatabaseName you want to export its objects. #
# Example: DD_ECM #
####################################################################################################
DatabaseName = DD_ECM
####################################################################################################
# Set if schema names should be written to the export files, like [dbo].[<ObjectName>]. #
# Example: true #
# Example: false #
####################################################################################################
ExportWithDBSchemaName = false
####################################################################################################
# Set if stored procedures should be exported. #
# Example: true #
# Example: false #
####################################################################################################
ExportStoredProcedures = true
####################################################################################################
# Set if views should be exported. #
# Example: true #
# Example: false #
####################################################################################################
ExportViews = true
####################################################################################################
# Set if table and scalar functions should be exported. #
# Example: true #
# Example: false #
####################################################################################################
ExportUserDefinedFunctions = true
####################################################################################################
# Set if tables including indices and constrains should be exported. #
# Example: true #
# Example: false #
####################################################################################################
ExportTables = true
####################################################################################################
# Set if database and table trigger should be exported. #
# Example: true #
# Example: false #
####################################################################################################
ExportTriggers = true
####################################################################################################
# Set if linked Server should be exported. #
# Example: true #
# Example: false #
####################################################################################################
ExportLinkedServers = true