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 a5371c8 commit 70ab41bCopy full SHA for 70ab41b
extensions/powershell/convert-resource.ps1
@@ -6,7 +6,10 @@ param (
6
7
begin {
8
$lines = [System.Collections.Generic.List[string]]::new()
9
- "The current module paths: $env:PSModulePath" | Write-DscTrace -Operation Trace
+ $Operation = 'Trace'
10
+
11
+ $trace = @{$Operation.ToLower() = "The current module paths: $env:PSModulePath" } | ConvertTo-Json -Compress
12
+ $host.ui.WriteErrorLine($trace)
13
14
$scriptModule = Import-Module "$PSScriptRoot/convertDscResource.psd1" -Force -PassThru -WarningAction SilentlyContinue -ErrorAction Stop
15
}
0 commit comments