Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

Create new user with mailbox

$
0
0

Hi all,

been serching and testing some script for creating new user from Exchange powershell.So far the following have been working partially as wanted:

New-Mailbox -UserPrincipalName Firstname.Lastname@contoso.com -Alias firlastn -Database "Mailbox Database 1" -Name FirstnameLastname -FirstName Firstname -LastName LastName -DisplayName "Lastname, Firstname" -ResetPasswordOnNextLogon $true

The part not working is:

  • Under account tab in AD, where  i wish that User logon name (pre-windows 2000) should be same as alias (first 3 letter in firstname and 5 first letter in lastname).
  • Under profile path in AD i wish that  home folder connects to P: drive and path to the p: drive
  • Add user member of certain DL or other groups.


Is this possible without 3rd part application and purely from Exchange powershell?

Thanks!


Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work


Viewing all articles
Browse latest Browse all 8719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>