Solved

Exchange 2007 Powershell command

Posted on 2012-04-10
9
1,703 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unified and professional email signatures help maintain a consistent company brand image to the outside world. This article shows how to create an email signature in Exchange Server 2010 using a transport rule and how to overcome native limitations …
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Suggested Courses

632 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