If you need to change your Mail enabled users to Mailbox users you can user the script below.
You can use wildcards in the identity field or drop -Identity and use -organizationalUnit yourOU.
get-MailUser -Identity usernameofuser | Enable-Mailbox -Database "Whatever DB" | get-mailbox |
select name,windowsemailaddress,database
No comments:
Post a Comment