Skip to content

Commit

Permalink
Update 00_RunAllScripts.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
gwalkey authored Apr 21, 2022
1 parent 4b2cf7e commit 9888e2c
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Scripts/00_RunAllScripts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 9888e2c

Please sign in to comment.