In Powershell, how do I concatenate one property of an array of objects into a string?

Viewed 19253

For example, I have 3 files in c:\z

PS C:\z> dir | select name

Name
----
a.png
b.png
c.png

What I want is a string.

a.png,b.png,c.png

Thanks.

2 Answers
Related