Identify which email address policy has been applied
Hello,
Is there a way to identify which email address policy has been applied to a user? I can't find any powershell command which offers this information.
Thanks
June 4th, 2010 3:58am
Hi RTEAL,
You can identify the policy, but it requires jumping through some hoops at the Management Shell.
Run Get-Mailbox <mailbox ID>|select-object PoliciesIncluded. You will see a list of Globally Unique Identifiers (GUIDs), one of which is the GUID of the Email Address Policy applying to that user. Take the first one and then inject its
GUID (or part of it) into the following command:
Get-EmailAddressPolicy | ?{$_.guid -match "<part or all of GUID>"}
If you used the correct GUID from the original list on the user, the policy applying to that user should now be shown on the screen.
-Matt
Free Windows Admin Tool Kit Click here and download it now
June 7th, 2010 1:18am