Forum Discussion
JoaoManoel-OJC
Oct 08, 2021Copper Contributor
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...
- Oct 08, 2021Try
Select-Object -ExpandProperty AllowedSenderDomains
instead
VasilMichev
Oct 08, 2021MVP
Try
Select-Object -ExpandProperty AllowedSenderDomains
instead
Select-Object -ExpandProperty AllowedSenderDomains
instead
- JoaoManoel-OJCOct 08, 2021Copper Contributor
I am grateful for your help!
the command with the ExpandProperty property viewed all the content within the array