mailbox Access via Script.........
Hello Team Iam Anitcipating one the script which would be very usefull for my project. We do getting like mostly for mailbox access from one user mailbox to another user mailbox Like User1 is asking for User 2 mailbox access. Ecevrday we are doing via EMC. or some time via EMS ( Add- mailbox Permission ) is that any simple Script is available, like it should ask the Traget mailbox name (user2) or email Address and then it should ask Source Mailbox who is asking (User1) Once it is executed User1 should have the full mailbox Access for User2 Example like ENTER THE TARGET MAILBOX : User2@aaa.com ENTER THE SOURCE MAILBOX : User1@aaa.com Mailbox Acceess Completed Please help to reduce the time while doing the mailbox access via EMC or EMS ramakrishnan
August 29th, 2011 2:11pm

Add-MailboxPermission "mailbox displayname/Ad Account" -user "user need access displayname/Ad Account" -AccessRights Fullaccess--------Abhi----------------- Exchange Specialist------------- ------------------ Please remember to click Mark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2011 3:24pm

Add-MailboxPermission "mailbox displayname/Ad Account" -user "user need access displayname/Ad Account" -AccessRights Fullaccess --------Abhi----------------- Exchange Specialist------------- ------------------ Please remember to click “Mark as Answer” on the post that helps you. This can be beneficial to other community members reading the thread. you can copy and paste users as per requirement and run it once. it will do it for all--------Abhi----------------- Exchange Specialist------------- ------------------ Please remember to click Mark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.
August 29th, 2011 3:26pm

Hello Abhi Thanks for the info. I have already this command with me . I Need a like PS script (.PS1 to run the above command like below" By Normally if you type the command ADD-MailboxPermission then Enter It will ask to supply the Values for the Following Paramater Identity : User1 AccessRights[0]: FullAccess AccessRights[1]: User: User2 it will execute succesfully All i need to put the above command in .PS1 file i try to put the ADD-MailboxPermisson Command in Notepad and Sane as "Filename.PS1" is not running..... It is saying filename.PS1 is not recognized as cmdlet, Function, Operable Program, or a script file . Verify the term and try again ramakrishnan
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2011 6:13pm

http://gallery.technet.microsoft.com/scriptcenter/4aeafe7a-6865-46af-aa86-77bd1557c57c do you need something like this. please go through it--------Abhi----------------- Exchange Specialist------------- ------------------ Please remember to click Mark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.
August 29th, 2011 6:28pm

Hi Abhi Thanks for the link Now am am able to manage in single line commad Add-MailboxPermission Save in a notepad file and save and .PS1 file and ran the command .\filename.ps1 it will ask like below supply the Values for the Following Paramater Identity : User1 AccessRights[0]: FullAccess AccessRights[1]: User: User2 and the above command sucessfully Executed. Thanks for your links and update ramakrishnan
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2011 7:29pm

Hi Abhi Thanks for the link Now am am able to manage in single line commad Add-MailboxPermission Save in a notepad file and save and .PS1 file and ran the command .\filename.ps1 it will ask like below supply the Values for the Following Paramater Identity : User1 AccessRights[0]: FullAccess AccessRights[1]: User: User2 and the above command sucessfully Executed. Thanks for your links and update ramakrishnan Plesae mark as answer to close the thread--------Abhi----------------- Exchange Specialist------------- ------------------ Please remember to click Mark as Answer on the post that helps you. This can be beneficial to other community members reading the thread.
August 30th, 2011 5:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics