Create new account with shared account associate

Here is the link for the script I am using to create new account user and additional shared mailbox associate for the user (Version 2.0).

The script is wrote in powershell.

It is can be run from command line like schedule task: “C:WindowsSystem32WindowsPowerShellv1.0powershell.exe -command”

Download the Script and rename the suffix from .txt to .ps1

On the first section you need to feel relevant data for your domain and you server it runs from it (change the brackets to relevant data, NO NEED BRACKETS!!!):

$OOU = “[domain.com/Sales]”
$SOU = “[domain.com/Sites Recipients]”
$SSuffix = “@[domain.com]”
$MailFrom = “[test@domain.com]”
$OSuffix = “@[SharedDomain.com]”
$SMail = $SAlias+”@[domain.com]”
$GrouptoAdd = “[Group Name to Add permissions]”
$GrouptoAdd2 = “[2nd Group Name to Add permissions]”
$SmtpServer =”[SMTP server]”

I will be glade to get suggestions…

Thanks

Tal

2 thoughts on “Create new account with shared account associate”

  1. I think it is a really amosewe perspective. I usually fulfill individualswho rather say what they assume others want to listen to. Excellent and wellwritten! I will come returning to your website for sure!

  2. תודה על המידע השימושי . צריך להוסיף את הבלוג שלךלסימניות

Leave a Reply

Your email address will not be published. Required fields are marked *