Forum Discussion
Robert Crane
Jun 08, 2018MVP
How long to display a spam policy created by PowerShell in Exchange Admin console?
I have created a new Exchange Spam Policy using the new-hostedcontentfilterpolicy command. I can view all the policies like so in PowerShell:
However, when I look in the Exchange Admin console they don't appear as yet.
How long should I expect to wait before I see them appear in the console after using PowerShell to create?
Worked out why it doesn't appear. After creating the new-hostedfilterpolicy you need to run the new-hostedcontentfilterrule to apply the policy to domains or senders. Once you run this, the rule then appears in the Exchange admin console!
It should be shown immediately, in theory. I did a test and I'm also not seeing a newly created policy in either the EAC or the SCC, so I guess there's some issue on the backend. Open a support case?
Worked out why it doesn't appear. After creating the new-hostedfilterpolicy you need to run the new-hostedcontentfilterrule to apply the policy to domains or senders. Once you run this, the rule then appears in the Exchange admin console!