Solved

Exchange 2007 Powershell command

Posted on 2012-04-10
9
1,414 Views
Last Modified: 2013-02-28
Hello,
I have one issue and hoping you can help me out.
Currently Exchange 2007 SP1 is in domain A
Users are in Domain B.  Domain A and B have trust relationship.
User 1 needs to have permission to user 2's calendar.
User 2 grants permission to user 1 in domain A\useraccount format.
The problem is all users (including user 1) log on to Domain B not A. Therefore user 1 can't get into user 2's calendar.  I can only grant permission in Domain B\useraccount format via EMS in Exchange 2007 with fullaccess.  However, user 1 only allowed to have access to calendar.  I can't find any EMS command specific for calendar.  Because using EMS, I can specify domain name.  I have used PFDAVAdmin, but there is no way that I can specify domain B.  Does anybody know the EMS command?
Thanks
0
Comment
Question by:bluesky001
9 Comments
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37829797
Add-MailboxFolderPermission –Identity user1@contoso.com:\Calendar -AccessRight ReadItems -User user2@contoso.com
0
 

Author Comment

by:bluesky001
ID: 37829899
Thanks for your speedy response. But Add-MailboxFolderPermission is not available in exchange 2007. It said is not recognized as a cmdlet.  Thanks
0
 
LVL 8

Expert Comment

by:Dipak
ID: 37830298
Make sure you run the command from  Exchange management shell and go thourgh below MS article where you are specify the DomainController.

http://technet.microsoft.com/en-us/library/dd298062.aspx
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:bluesky001
ID: 37830335
Thanks, again we have exchange 2007 SP1.  Above command won't work in Exchange 2007, it only works in Exchange 2010 and linke to article you sent it applies to exchange 2010 sp2.
0
 
LVL 7

Expert Comment

by:Jarred Power
ID: 37830509
Not sure if you can do this from the EMS.  The only command that is close, is the Set-MailboxCalendarSettings, but as far as I can tell it's for use with resource/room booking management  http://technet.microsoft.com/en-us/library/aa996340(v=exchg.80).aspx

You might be stuck going though outlook to set the permissions - The only other command that I can see is the full permission for mailbox access.  (might be why they added this in 2010 to the EMS)
0
 

Author Comment

by:bluesky001
ID: 37830521
I already granted user fullaccess via add-mailboxpermission (for testing purposes) with specify domainanme\account it works but that is for full access.  I guess I migth have to open a case with Microsoft to see if they can help before we upgrade to exchange 2010.
Thanks
0
 
LVL 12

Accepted Solution

by:
GusGallows earned 500 total points
ID: 38021878
You should be able to set readpermissions using add-mailboxpermission.

add-mailboxpermission -identity "User2 full name" -User "domainB\User1" -AccessRights ReadPermission

Open in new window


Try that. You may have to also add the -domaincontroller parameter and specify a domaincontroller for the domainB domain.
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now