diff --git a/windows/win_msi.ps1 b/windows/win_msi.ps1 index f1381e9bf23..c162243f2c8 100644 --- a/windows/win_msi.ps1 +++ b/windows/win_msi.ps1 @@ -47,7 +47,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;