Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Exporting custom results to CSV

$
0
0

Good Morning Everyone,

I have a list of email addresses that I compare against our O365 tenant, if they exist I write-host telling me, if they do not exist I write-host telling me they do not.

What I would like to do is export the comparison to CSV file: in column A I would like the email address that was compared and in column B I would like to know whether the email address exists or not.

Would I need to create a custom ps object or hash-table? Confused

I have not really got much experience with creating custom output for a CSV file.

Thanks for any help you can provide.


Viewing all articles
Browse latest Browse all 6937

Trending Articles