Forum Discussion

JoaoManoel-OJC's avatar
JoaoManoel-OJC
Copper Contributor
Oct 08, 2021

How do I copy allow and block lists from one O365 Defender policy

I tried this command to extract Get-HostedContentFilterPolicy -Identity Default | Select-Object -Property AllowedSenderDomains | Out-File -FilePath C:\Users\myuser\Documents\Sender.txt file does no...
  • VasilMichev's avatar
    Oct 08, 2021
    Try
    Select-Object -ExpandProperty AllowedSenderDomains
    instead

Resources