SqlServerDsc.Common: Replace Import-SQLPSModule
with Import-SqlDscPreferredModule
#1848
Labels
enhancement
The issue is an enhancement request.
good first issue
The issue should be easier to fix and can be taken up by a beginner to learn to contribute on GitHub
We should remove this function:
SqlServerDsc/source/Modules/SqlServerDsc.Common/SqlServerDsc.Common.psm1
Lines 873 to 885 in 49cf40c
and replace it with the command
Import-SqlDscPreferredModule
, but since that command is run when the module SqlServerDsc is imported, maybe we can just make sure the module SqlServerDsc is in the session for MOF-resources.Should be determained case-by-case what action should be taken.
The text was updated successfully, but these errors were encountered: