Forum Discussion
Josh U
Jun 26, 2020Copper Contributor
PowerShell cmdlet/parameter combinations are unsuccessful in Exchange Server 2016
Hello All, I notice this weird error from Exchange powershell while running this cmdlet:- Get-MailboxJunkEmailConfiguration -Identity "user@contoso.com" Error:- Error on proxy command 'Get-M...
Jun 27, 2020
Hello Josh U,
It could be that you are looking for this piece of information, you will need to specify the -ReadFromDomainController instead of the normal -Domaincontroller parameter.
The ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain. If you run the command Set-AdServerSettings -ViewEntireForest $true to include all objects in the forest and you don't use the ReadFromDomainController switch, it's possible that information will be read from a global catalog that has outdated information.
It could be that you are looking for this piece of information, you will need to specify the -ReadFromDomainController instead of the normal -Domaincontroller parameter.
The ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain. If you run the command Set-AdServerSettings -ViewEntireForest $true to include all objects in the forest and you don't use the ReadFromDomainController switch, it's possible that information will be read from a global catalog that has outdated information.