diff --git a/Scripts/00_RunAllScripts.ps1 b/Scripts/00_RunAllScripts.ps1 index a805e2a..bd9c7ba 100644 --- a/Scripts/00_RunAllScripts.ps1 +++ b/Scripts/00_RunAllScripts.ps1 @@ -35,16 +35,16 @@ Param( cls -# Load Common Modules and .NET Assemblies -try -{ - Import-Module ".\SQLTranscriptase.psm1" -ErrorAction Stop -} -catch -{ - Throw('SQLTranscriptase.psm1 not found') -} - +# Load Common Modules and .NET Assemblies +try +{ + Import-Module ".\SQLTranscriptase.psm1" -ErrorAction Stop +} +catch +{ + Throw('SQLTranscriptase.psm1 not found') +} + LoadSQLSMO # Init @@ -106,6 +106,7 @@ Invoke-Expression ".\04_Agent_Alerts.ps1 $SQLInstance $myuser $mypass" Invoke-Expression ".\04_Agent_Operators.ps1 $SQLInstance $myuser $mypass" Invoke-Expression ".\04_Agent_Proxies.ps1 $SQLInstance $myuser $mypass" Invoke-Expression ".\04_Agent_Schedules.ps1 $SQLInstance $myuser $mypass" +Invoke-Expression ".\04_Agent_Configuration.ps1 $SQLInstance $myuser $mypass" Invoke-Expression ".\05_DBMail_Accounts.ps1 $SQLInstance $myuser $mypass" Invoke-Expression ".\05_DBMail_Profiles.ps1 $SQLInstance $myuser $mypass" #Invoke-Expression ".\06_Query_Plan_Cache.ps1 $SQLInstance $myuser $mypass"