Tuesday, October 22, 2013

Public Folders Permissions on Exchange 2007/2010

I used to work with Exchange System Manager when managing permissions on Exchange Public Folders, but last week got in trouble when in need to do it on our recently migrated to Exchange 2007 PFs. Turns out that Exchange Management Console doesn't seem to have any feature to manage the Public Folders permissions, so we need to use Power Shell in order to do it. Below are the cmdlets that will help us with that:

To add administrative permissions:

  Add-PublicFolderAdministrativePermission -Identity "\FolderPath" -AccessRights ACCESSRIGHTS -User USERNAME

-AccessRights parameter value may be:
  • None
  • ModifyPublicFolderACL
  • ModifyPublicFolderAdminACL
  • ModifyPublicFolderDeletedItemRetention
  • ModifyPublicFolderExpiry
  • ModifyPublicFolderQuotas
  • ModifyPublicFolderReplicaList
  • AdministerInformationStore
  • ViewInformationStore
  • AllExtendedRights
To add client permissions:

  Add-PublicFolderClientPermission -Identity "\FolderPath" -AccessRights ACCESSRIGHTS -User USERNAME

-AccessRights parameter value may be:
  • ReadItems
  • CreateItems
  • EditOwnedItems
  • DeleteOwnedItems
  • EditAllItems
  • DeleteAllItems
  • CreateSubfolders
  • FolderOwner
  • FolderContact
  • FolderVisible
To add send as permissions (for mail enabled public folders):

  Add-ADPermission "\All Public Folders\FolderPath" -User "USERNAME" -Extendedrights "Send As"

Here comes the complicated part...

In order to recursively add permissions to a folder and its subfolders, we'll need to use a script we'll find in Exchange Server: AddUsersToPFRecursive.ps1, however, this script will remove the user's permissions before adding the new ones, and that will require confirmation, which will be a pain if we're talking about too many subfolders (believe me, in my case there were hundreds of them). So I've made a small change in the script and renamed AddUsersToPFRecursive-No-Confirm.ps1 to keep the original.

All you need to do in order to remove the confirmation is to find this line:

  $permission | remove-PublicFolderClientPermission -identity $_.Identity -server $_.OriginatingServer

And add "Confirm:$false" in the end.

  $permission | remove-PublicFolderClientPermission -identity $_.Identity -server $_.OriginatingServer -Confirm:$false

Then save the script with a new name as I did, or one you prefer.

Once you have it done, you just need to call the script from the Shell console as usual:

  AddUsersToPFRecursive-No-Confirm.ps1 -TopPublicFolder "'\Europe\France'" -User "LAURENT_BARONI" -Permission Owner

** Note that I've put quotes " and an apostrophe ' on the parameter -TopPublicFolder. That's not a typo, don't ask me why, but this was the only way I could make it work. But it works, I promise :)

More info:
Add-PublicFolderAdministrativePermission cmdlet
Ler o texto inteiro ►

Moving Mailboxes in Exchange 2007 and 2010 via PowerShell - What is different?

Exchange 2010 treats quite differently mailbox moves than 2007 version. We were used to use Move-Mailbox cmdlet in order to move mailboxes across servers/databases instantly, however with the mailbox disconnected (offline). Now we must use New-MoveRequest cmdlet to queue up a request which will be completed in background, which means the user will still be able to use it during the operation.

Exchange 2007 syntax:

 Move-Mailbox -Identity USERNAME -TargetDatabase DATABASE -BadItemLimit INT

Exchange 2010 syntax:

 New-MoveRequest -Identity USERNAME -TargetDatabase DATABASE -BadItemLimit INT

You can get updates about the move request by using Get-MoveRequest cmdlet:


 Get-MoveRequest -Identity USERNAME

More info:
Move-Mailbox cmdlet
New-MoveRequest cmdlet
Get-MoveRequest cmdlet
Ler o texto inteiro ►

Tuesday, April 3, 2012

Delegate cannot create online meeting on behalf

Lync is designed to be used as a complete platform for communications, including instant messaging and voice over IP, so this feature will have some problems when being used for people enabled only for PC-to-PC communication as the delegate settings are on a page shown only for users enabled for enterprise voice.
  1. First you must enable the user for Enterprise Voice on Lync Server Control Panel: 
  2. Start > Programs > Microsoft Lync Server 2010 > Lync Server Control Panel 
  3. On Users tab, search for the username, double-click the user's record in the results pane 
  4. On Telephony, select "Enterprise Voice"
  5. Click Commit 
Then, after waiting about 1 hour for full propagation the user's Lync client will have the Call Forwarding Settings page and on user's computer, you'll need to follow below steps:

  1. Expand the menu, Tools > Call forwarding settings * 
  2. Click Edit my delegate members 
  3. Click Add… 
  4. Find the user you want to grant delegate rights 
  5. IF you want your delegates to receive calls on your behalf, check the box under Receive calls and select your preference on “Ring your delegates after this many seconds”. Otherwise, uncheck the box under Receive calls. 
  6. Click Ok; Click Ok. 

* If the user doesn’t have the option Call Forwarding Settings, restart the computer and try again.
Ler o texto inteiro ►

Thursday, March 29, 2012

How to show recent contacts in Lync

As a former Communicator user, I've always complained about this "new contacts list" in Lync, where are shown only the "Frequent Contacts" instead of the "Recent Contacts" I used to have in Communicator...

Today as per requested by an user, I've made some research and found an article in Technet that showed me the way to have my recent contacts back.

You just need to right-click any contact in your list and then click on Pin to frequent contacts and it will be shown at the top of the list permanently. The pinned and unpinned ones will appear separated by a gray line. You may pin as many contacts as you want.

More info in: http://blogs.technet.com/b/lync/archive/2010/11/19/the-new-and-improved-contact-list.aspx

Hope this helps,
Felipe
Ler o texto inteiro ►

Wednesday, March 28, 2012

How to Disable Outlook’s Junk E-mail Filter


Open the registry editor: go to Start > Run and type “regedit”, no quotes.

In Outlook 2007, set the following key (create the keys in the path if they do not exist *):
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\12.0\Outlook
DWORD: DisableAntiSpam
Change the value to 1 (Hex)
If you use Outlook 2010, the key is (create the keys in the path if they do not exist *):
HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\14.0\outlook



Restart your computer once you have the key set.

* To create the key in case it doesn’t exit:
1. In the folder you want to create it, click Edit > New > DWORD (32-bit value)
2. Name the key “DisableAntiSpam”, no quotes
3. Double click the item and set the value to 1 and check Hexadecimal radio button. Click OK.

See ya!
Ler o texto inteiro ►
Related Posts Plugin for WordPress, Blogger...