Skip to content

Commit

Permalink
Fix versions
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Apr 10, 2023
1 parent e0a9b05 commit 50fee59
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/Integration/DSC_SqlSetup.config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,14 @@ Configuration DSC_SqlSetup_InstallSqlServerModule_Config
}

# Install the required SqlServer module version.
$installedModule = Install-Module @installModuleParameters
$installedModule = Install-Module @installModuleParameters |
Where-Object -FilterScript {
<#
Need to filter out the right module since it also installs
the dependent module dbatools.library.
#>
$_.Name -eq 'dbatools'
}

Write-Verbose -Message ('Installed dbatools module version {0}' -f $installedModule.Version)
}
Expand Down

0 comments on commit 50fee59

Please sign in to comment.