Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 189307

Re: Powershell script to see paths

$
0
0

A ForEach loop doesn't place objects on the pipeline, so you'll have to use a trick.

Place the complete script in a call block, and then you can do the export.

It would look something like this

 

& {

# The original script

}
|ExExport-CsvC:\report.csv-NoTypeInformation-UseCulture

Viewing all articles
Browse latest Browse all 189307

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>