0

This has to be real easy but I just cant find an answer on google that will work in my case. I am running a ps1 file that caml queries a document library. I just want to organize these results into a table. Thats it.

Closest I got is $queryResults | select Title but this only make s a Title column and only works once for some reason. I have multiple queries and will have multiple tables.

1 Answer 1

0

Format-Table or its alias ft will do this for you.

$queryResults | Format-Table -auto

Format-Table

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.