You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
solution is earlier in the script not to test for the existence of the module but for import-dscresource to actually load and if it doesnt then copy to program files and explicitly import from there
The text was updated successfully, but these errors were encountered:
so when you call Invoke-DscResource, you can specify the ModuleName parameter - you should always do this (and tbh, specify the minimum or precise version you need) and especially to avoid using the resources that shipped in DSC v1.1
solution is earlier in the script not to test for the existence of the module but for import-dscresource to actually load and if it doesnt then copy to program files and explicitly import from there
The text was updated successfully, but these errors were encountered: