phershey
asked on
How to find public folder alias in Exchange 2010
Recently upgraded from Exchange 2003 to 2010, so I'm still very much the newb with Exchange Power Shell. I need to find the several public folders whose email addresses/aliases begin with 'member' among our about 200 mail-enabled public folders. It could be the beginning of the primary or other email address for any given public folder.
Our AD domain is still 2003. When I do a 'get-mailbox -identity member', the error I get back references one of the AD 2003 DCs. Doesn't make sense to me.
Thanks.
Our AD domain is still 2003. When I do a 'get-mailbox -identity member', the error I get back references one of the AD 2003 DCs. Doesn't make sense to me.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cool. Looks like you forgot to accept the answer. Else please post any further questions on this,
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Now I'm working through all the public folders, trying to clean up ones with invalid aliases. Initially these were all mail-enabled public folders for which whoever setup them up initially entered an alias with a space in it. Those are all cleared up, but I'm still getting the 'inconsistent state' error with the valid values for an alias for some public folders that are NOT mail-enabled. Obviously for these only the field on the General tab has the public folder name. I've tried removing the space from a couple of these, 'Policyholder Service' becoming 'PolicyholderService', but I still get the same error message:
VERBOSE: Connected to CAS-CA1.agia.in.
{PS] C:\Windows\system32>Get-Ma ilPublicFo lder "Policyholder*" | Get-PublicFolderStatistics | Select AdminDisplayName, FolderPath
WARNING: The object agia.in/Microsoft Exchange System Objects/Policyholder Service has been corrupted, and it's in an inconsistent state. The following validation errors happened:
WARNING: Property expression "Policyholder Service" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One or more periods may be embedded in an alias, but each period should be preceded and followed by at least one of the other characters. Unicode characters from +00A1 to U+00FF are also valid in an alias, but they will be mapped to a best-fit US-ASCII string in the e-mail address, which is generated from such an alias.
AdminDisplayName FolderPath
--------------- ----------
PolicyholderService Customer Service\ULLICO\Policyholde rService
Any ideas what could be causing this? This example is not mail-enabled. I'm extremely puzzled.
VERBOSE: Connected to CAS-CA1.agia.in.
{PS] C:\Windows\system32>Get-Ma
WARNING: The object agia.in/Microsoft Exchange System Objects/Policyholder Service has been corrupted, and it's in an inconsistent state. The following validation errors happened:
WARNING: Property expression "Policyholder Service" isn't valid. Valid values are: Strings formed with characters from A to Z (uppercase or lowercase), digits from 0 to 9, !, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } or ~. One or more periods may be embedded in an alias, but each period should be preceded and followed by at least one of the other characters. Unicode characters from +00A1 to U+00FF are also valid in an alias, but they will be mapped to a best-fit US-ASCII string in the e-mail address, which is generated from such an alias.
AdminDisplayName FolderPath
--------------- ----------
PolicyholderService Customer Service\ULLICO\Policyholde
Any ideas what could be causing this? This example is not mail-enabled. I'm extremely puzzled.
I guess its due to a space in alias which is not accepted. You might want to open the properties from PF management console for this PF and remove the space.
ASKER
My point is that as it is not an email-enabled public folder, there is no alias.
Hence my puzzlement.
Hence my puzzlement.
ASKER