Quantcast
Viewing all articles
Browse latest Browse all 21975

Export-CSV Add date to file name

I would like to use export.csv and attach the date to the file. EX. example_7/5/13.csv, example_7/6/13 and so on..

I am using version 3.0. I am trying different things.

$CurrentDate = Get-Date
Export-Csv -Path "C:\Results.csv" -Append $CurrentDate


Freddy91761_1


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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