How to get Select-Object to return a raw type (e.g. String) rather than PSCustomObject?
The following code gives me an array of PSCustomObjects, how can I get it to return an array of Strings? $files = Get-ChildItem $directory -Recurse | Select-Object FullName | Where-Object {!($_.psiscontainer)} (As a secondary question, what's the psiscontainer part for? I copied that from an example online) Post-Accept Edit: Two grea...