Hi,
Good Afternoon everyone.
Today while working on my “OutlookTools” , one question strike in my mind.
The question was “How to find out default profile name for the Outlook?”.
Finding the default profile for outlook is a bit handy for scripts. for example you are creating a Outlook profile using some sort of scripts and the name of the Outlook profile is similar across the company, If some user complained about outlook, we may need to check which Outlook Profile he/she is using.
This outlook profile is just a name of the profile.
To find out your default outlook profile name. just run the below two lines of script code.
$outlookApplication = New-Object -ComObject 'Outlook.Application'
$outlookApplication.Application.DefaultProfileName
You can see above that our default outlook profile name is “Office365”
let’s verified it.
Bingo :) . it is correct.
I hope you will like it.
Thanks
Is there any way to modify this attribute? I would like to toggle/switch between two Profiles with one little PowerShell Script.
ReplyDeleteHi,
ReplyDeleteCould you please help me with creating new outlook profile using powershell at the earliest.
Thanks and regards,
Divs