I am trying to create new outlook profile and after that I want to set new outlook profile set as default. Like below line I can start the new profile wizard configure new profile (outlookNew). when I close and reopen outlook its opening old profile that as Default. under control Penal> mail> show profile> if I change drop down to outlookNew it works but trying to do it from powershell.
Start-Process 'outlook' -ErrorAction SilentlyContinue -ArgumentList '/profile "outlookNet" '
I looked comObject method\event to change DefaultProfileName.. no luck so far but I can see defaultProfilename as property name. I trying with outlook 2013.
$outlookApplication = New-Object -ComObject 'Outlook.Application'$outlookApplication.DefaultProfileName
Any help will be appreciated...