diff --git a/windows/win_msi.ps1 b/windows/win_msi.ps1 index 42debeaa947..3af765a7051 100644 --- a/windows/win_msi.ps1 +++ b/windows/win_msi.ps1 @@ -62,7 +62,7 @@ Else Set-Attr $result "changed" $true; -$logcontents = Get-Content $logfile; +$logcontents = Get-Content $logfile | Out-String; Remove-Item $logfile; Set-Attr $result "log" $logcontents;