phishing
1 TopicHow to get full string Get-AntiPhishPolicy -Impersonation TargetedDomainsToProtect attribute
Hi there, I am trying to build a command to get all TargetedDomainsToProtect from one of our Anti phishing policies using Get-AntiPhishPolicy Get-AntiPhishPolicy -Identity "Anti-phishing Policy" -Impersonation | Format-Table TargetedDomainsToProtect -AutoSize We have added multiple domains and we would like to retrieve the entire attribute, not as I get it as default: TargetedDomainsToProtect ------------------------ {domain1.com, domain2.com, domain3.com...} Is there a way of extracting the full collection of domains? I have tried Format-Table, Out-File, Out-String without success. Thank you in advance. Kind regards MarcosSolved1.3KViews0likes2Comments