We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac542f commit 4efac72Copy full SHA for 4efac72
powershell-adapter/psDscAdapter/psDscAdapter.psm1
@@ -38,7 +38,11 @@ function Invoke-DscCacheRefresh {
38
$Module
39
)
40
41
- # cache the results of Get-DscResource
+ # write psmodulepath to debug logs
42
+ $trace = @{'Debug' = 'PSModulePath:' + $env:PSModulePath } | ConvertTo-Json -Compress
43
+ $host.ui.WriteErrorLine($trace)
44
+
45
+ # create a list object to store cache of Get-DscResource
46
[dscResourceCache[]]$dscResourceCache = [System.Collections.Generic.List[Object]]::new()
47
48
# improve by performance by having the option to only get details for named modules
0 commit comments