SOLVED

How to list domains protected by Anti-phishing Policy using PS?

Copper Contributor

When I configure Anti-phishing Policy (https://security.microsoft.com > "Policies and Rules" > "Threat policies" > "Anti-phishing"), on the second screen (Users, groups, and domains) I need to specify user, groups or domains I want to protect.
Later I cannot find this information in properties of the policy using PS. All other settings from next screens are available. Information is visible from the web console.
How can I get list of domains protected by the policy using PS?

1 Reply
best response confirmed by VI_Migration (Silver Contributor)
Solution
Answering my own question. Protected domains can be listed by command Get-AntiPhishRule. All other options can be retrieved using command Get-AntiPhishPolicy.
1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution
Answering my own question. Protected domains can be listed by command Get-AntiPhishRule. All other options can be retrieved using command Get-AntiPhishPolicy.

View solution in original post