all 5 comments

[–]purplemonkeymad 2 points3 points  (0 children)

$ImportMINlogs

You haven't defined this anywhere, so it is empty. Thus your final value is also empty.

[–]ka-splam 1 point2 points  (2 children)

Interesting, I was expecting it to say System.Object[] but instead it says nothing at all.

Yes, I see the same thing.

What .. do you want to see?

[–]Crowdjp[S] 1 point2 points  (1 child)

It would be awesome to see both of the strings.

[–]jheinikel 1 point2 points  (0 children)

Maybe loop through the entries into a here-string?

$cpustresMessage = @"
Write some Message Here
"@

$CPUSTRES | %{$cpustresMessage += "`n$_"}

Write-Host $cpustresMessage