diff --git a/src/Microsoft.Management.Configuration.Processor/DSCv3/Schema_2024_04/DSCv3.cs b/src/Microsoft.Management.Configuration.Processor/DSCv3/Schema_2024_04/DSCv3.cs index f191385e56..ddd634f426 100644 --- a/src/Microsoft.Management.Configuration.Processor/DSCv3/Schema_2024_04/DSCv3.cs +++ b/src/Microsoft.Management.Configuration.Processor/DSCv3/Schema_2024_04/DSCv3.cs @@ -273,7 +273,7 @@ private static List CreateEnvironmentVariab /// True if the exit code was not 0. private bool RunSynchronously(ProcessExecution processExecution) { - this.processorSettings.DiagnosticsSink?.OnDiagnostics(DiagnosticLevel.Verbose, $"Starting process: {processExecution.CommandLine}"); + this.processorSettings.DiagnosticsSink?.OnDiagnostics(DiagnosticLevel.Verbose, $"Starting process: {processExecution.CommandLine}{(processExecution.Input == null ? string.Empty : $"\n--- Input Stream ---\n{processExecution.Input}")}"); processExecution.Start().WaitForExit(); diff --git a/src/PowerShell/tests/Microsoft.WinGet.Configuration.Tests.ps1 b/src/PowerShell/tests/Microsoft.WinGet.Configuration.Tests.ps1 index b062d7168c..a1197b3b74 100644 --- a/src/PowerShell/tests/Microsoft.WinGet.Configuration.Tests.ps1 +++ b/src/PowerShell/tests/Microsoft.WinGet.Configuration.Tests.ps1 @@ -27,7 +27,8 @@ BeforeAll { # [CLI ] MSStore install failed. ProductId: 9PCX3HX4HZ0Z HResult: 0x80010002 # So install the DSCv3 package here. Import-Module Microsoft.WinGet.Client - $installResult = Install-WingetPackage -Id 9PCX3HX4HZ0Z -Source msstore + # We prefer to use preview (9PCX3HX4HZ0Z) to catch issues early, but if it causes blocking use stable (9NVTPZWRC6KQ) until it is resolved. + $installResult = Install-WingetPackage -Id 9NVTPZWRC6KQ -Source msstore if ($installResult.Status -ne 'Ok') { Write-Error "Failed to install DSCv3 package. Status: $($installResult.Status). ExtendedErrorCode: $($installResult.ExtendedErrorCode)." -ErrorAction Stop