casting column from csv as date powershell

Question:

I have a csv that is similar to this

Using powershell, how can I cast the “asOfDate” as a date/time when using the import-csv cmdlet?

EDIT: this is the line of code that I’m currently working with

Answer:

Source:

casting column from csv as date powershell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply