Skip to content

Commit

Permalink
Updated AddAssureModule.ps1 in Azure Automation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nboettcher committed Mar 22, 2018
1 parent c33bb73 commit d9201f8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion AddAssureModule.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ if ($productsArray -contains 'SAPB1')
{
.\ExecuteSQLScript.ps1 -SQLSERVER $sqlServer -Database $database -FileName 'AssureSAPB1.sql'
.\AddTargetGroupMember.ps1 -SQLSERVER $sqlServer -Database $database -TargetGroup 'AssureSAPB1'
$businessProcess = $False
$businessProcess = $True
}

if ($productsArray -contains 'OR')
Expand Down Expand Up @@ -114,6 +114,20 @@ if ($productsArray -contains 'JDE')
$businessProcess = $True
}

if ($productsArray -contains 'SL')
{
.\ExecuteSQLScript.ps1 -SQLSERVER $sqlServer -Database $database -FileName 'AssureSL.sql'
.\AddTargetGroupMember.ps1 -SQLSERVER $sqlServer -Database $database -TargetGroup 'AssureSL'
$businessProcess = $True
}

if ($productsArray -contains 'AX5')
{
.\ExecuteSQLScript.ps1 -SQLSERVER $sqlServer -Database $database -FileName 'AssureAX5.sql'
.\AddTargetGroupMember.ps1 -SQLSERVER $sqlServer -Database $database -TargetGroup 'AssureAX5'
$businessProcess = $True
}

if ($productsArray -contains 'CUSTOM')
{
$businessProcess = $True
Expand Down

0 comments on commit d9201f8

Please sign in to comment.