Dear Members,
I faced with a strange (at least for me) problem regarding EmailAddressPolicy.
If I list the policies I get back the list:
[PS] C:\Windows\system32>Get-EmailAddressPolicy
Name Priority RecipientFilter
---- -------- ---------------
Default Policy Lowest Alias -ne $null
Custom - EAP 1 ((CustomAttribute1 -eq 'Custom...
But if I try to use the same command with -Identity:
[PS] C:\Windows\system32>Get-EmailAddressPolicy -Identity 'Custom - EAP'
The operation couldn't be performed because object 'Custom - EAP' couldn't be found on 'AD01'.
+ CategoryInfo : NotSpecified: (:) [Get-EmailAddressPolicy], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : [Server=EXCHANGE01,RequestId=bebeae12-68fc-44a7-9edd-c6786ae7fed0,TimeStamp=2016.01.04.
10:03:08] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 5E2FE4F8,Microsoft.Exchange.Management.System
ConfigurationTasks.GetEmailAddressPolicy
+ PSComputerName : exchange01
Any idea what's wrong?
Kind Regards,
beckzg