次の方法で共有


Send Birthday Greetings

Objective:

The sample script to send birthday greetings. A separate email will be sent to individual users who will be celebrating birthday on the day the script runs. The script can be used with windows Task Scheduler to automate the process with a minimum modification. 

Features:

-     The script includes the function to help the users to run the friendly command: Send-DOBGreetings.

-     It can be used with Server,Database,FrmEmailID,HUBServer parameters.

-     FrmEmailID,HUBServer are mandatory.

-     Database and Server parameters are optional.

-     If the Server/Database is not used, it will run against all the mailboxes.

-     You cannot use Server and Database parameters together.

-     FrmEmailID will be used to send BirthDay Greeting Email to the users.

-     You cannot use administrator email ID or credential to send email. When you use  other user's email id to send message, You should have at least "Send As" permission.

-    You will be prompted with credential once to send emails. Only after successful authentication, the email will be sent.

-    Script does not make any modification, apart from running Get-Mailbox  commands.

-    Script can be used with Exchange 2007/2010/2013 and Office 365.

 Sample Screen-Shot:

- You may download the script from TechNet Gallery