# Configure Outlook using Powershell(creating user profile)

**URL:** <https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309>\
**Category:** PowerShell Help\
**Created:** [June 4, 2015, 3:03am UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309 "2015-06-04T03:03:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [June 4, 2015, 3:03am UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/1 "2015-06-04T03:03:55Z")

</div>

Hi Team-I’ve tried a lot…but can’t find a way to configure outlook using powershell…  
Did any one have the resolution…

Appreciate the response…

Thanks in advance…

---

<div class="post-metadata">

**Author:** ![daniel-krebs](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/daniel-krebs/32/484_2.png) [@daniel-krebs](https://forums.powershell.org/u/daniel-krebs)\
**Post date:** [June 5, 2015, 5:12am UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/2 "2015-06-05T05:12:10Z")

</div>

Have you searched Google or Bing for how to do Outlook profiles via scripting or GPO? Here are a couple of pages I found.

> **[Deploy Outlook mail profile settings via GPO or script - HowTo-Outlook](https://www.howto-outlook.com/howto/deployprf.htm)**
>
> This guide provides a script which you can use to deploy mail profile account settings contained in a prf-file. This script can be used as a (Group Policy) logon script and also checks if the mail profile already exists or not.

[http://www.travisrunyard.com/2013/03/26/auto-create-outlook-mapi-user-profiles/](http://www.travisrunyard.com/2013/03/26/auto-create-outlook-mapi-user-profiles/)

---

<div class="post-metadata">

**Author:** ![daniel-krebs](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/daniel-krebs/32/484_2.png) [@daniel-krebs](https://forums.powershell.org/u/daniel-krebs)\
**Post date:** [June 5, 2015, 5:38am UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/3 "2015-06-05T05:38:01Z")

</div>

Have you searched Google or Bing?

> **[Deploy Outlook mail profile settings via GPO or script - HowTo-Outlook](https://www.howto-outlook.com/howto/deployprf.htm)**
>
> This guide provides a script which you can use to deploy mail profile account settings contained in a prf-file. This script can be used as a (Group Policy) logon script and also checks if the mail profile already exists or not.

[https://technet.microsoft.com/en-us/library/cc179062(v=office.14).aspx](https://technet.microsoft.com/en-us/library/cc179062(v=office.14).aspx)

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [June 6, 2015, 5:49pm UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/4 "2015-06-06T17:49:36Z")

</div>

Hi Krebs,  
Thanks for your reply,  
But i couldn’t find anything related to powershell,  
i expect something using

```
$outlook=new-object -ComObject "outlook.application"
```

Is there any way to add an account to outlook Which is already installed in my Machine.

---

<div class="post-metadata">

**Author:** ![daniel-krebs](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/daniel-krebs/32/484_2.png) [@daniel-krebs](https://forums.powershell.org/u/daniel-krebs)\
**Post date:** [June 6, 2015, 8:55pm UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/5 "2015-06-06T20:55:39Z")

</div>

I believe the only Microsoft supported ways are Outlook.exe /importprf or an MSP file deployed to your machine which does not require PowerShell.

Regards  
Daniel

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [June 6, 2015, 10:28pm UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/6 "2015-06-06T22:28:38Z")

</div>

So I have to try with .prf or .MSP…great

Thanks for your great help…

Regards  
kvprasoon

---

<div class="post-metadata">

**Author:** ![divs](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@divs](https://forums.powershell.org/u/divs)\
**Post date:** [December 13, 2016, 9:56am UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/7 "2016-12-13T09:56:17Z")

</div>

Hi,

Can anyone help me with powershell script to configure outlook profile at the earliest/

Thanks in Advance!!

Regards,  
Divs

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:39pm UTC](https://forums.powershell.org/t/configure-outlook-using-powershell-creating-user-profile/4309/8 "2024-05-16T20:39:41Z")

</div>

Closed on May 16, 2024, 8:39pm UTC


