Avatar of Michael Leonard
Michael Leonard
Flag for United States of America

asked on 

how can i add an input CSV file to this script to make the change on bulk accounts.

how can i add an input CSV file to this script so we can make the change on multiple accounts.

here is the script we are using to setup forwarding on a single mailbox in office 365, how can we add an input CSV file to make the change on bulk accounts.

Set-Mailbox -Identity testuser@mydomain.com -DeliverToMailboxAndForward $true -ForwardingSMTPAddress testuser@mydomain-tx.com

Open in new window


thanks in advance.
PowershellMicrosoft OfficeExchangeMicrosoft 365Active Directory

Avatar of undefined
Last Comment
Michael Leonard

8/22/2022 - Mon