From 9888e2c7a0f17e8ad10cd57fa563c06e8435972e Mon Sep 17 00:00:00 2001 From: GWalkey Date: Thu, 21 Apr 2022 12:10:49 -0400 Subject: [PATCH] Update 00_RunAllScripts.ps1 --- Scripts/00_RunAllScripts.ps1 | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) 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"