![]() ![]() Look at the details for new-MapiProfile.īe aware that the example above will still prompt for a username and password if the current user is not also the "owner" of the malibox. There are also options with the cmdlet to add an Office365 mailbox in the new profile or to setup for Outlook Anywhere connections. $newProf = new-MapiProfile -AddExchangeMailbox -ExchangeServername -MailboxIdentifier useralias Then when outlook runs the next time, it logs on to the mailbox straight away and fills in any other details that Outlook needs in the profile. This causes some communication to occur between mapi and an exchange server to fill in all the other necessary details. ![]() Essentially, given a servername and mailbox identifier, a mapi method exists to "configure" the profile. I'll assume the real request is to be able to do this change without requiring any prompting for an end user to deal with.if so, the example below will work well for that.įurthermore, the standard way a profile is setup is very similar as you see when you create one manually from the control panel. Outlook completes the configuration on first launch. The first thing to know is that a MAPI profile can only be mostly configured, not completely. I don't know the depth of the issue driving the question, but realize that this option would also require access to the module DLL on the users' hosts. This could be done rather easily with PowerMapi, a powershell module that let's you do advance stuff with mapi directly, including outlook profiles. This way it will only import the file once when outlook is first started.ĭisclosure: I represent the product I'm mentioning below
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |