Hi all. I have zero EMS experience, yet need to put a text file a list of all email addresses. I don't even know the syntax yet but I figure it's this or similar:
get-mailbox | FL "somehow filter on smtpaddress" ? > c:\list.txt
Scripts and all that PS1 stuff is way too complicated for me right now, unless of course that's the only way to get htis done. This needs to be a list solely with email addresses for the users, so I can send it to a 3rd party message hygiene service. Maybe if there's a way to also do this as a .csv file? Txt is also ok - though I do not know if it needs to be comma seperated or not.
Thank you.