Skip to content

Commit 8a1a723

Browse files
authored
Merge pull request MicrosoftDocs#4790 from Markus-Hanisch/patch-1
Added line breaks in Examples 1 and 2
2 parents e3f3d4b + 7e7473b commit 8a1a723

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

exchange/exchange-ps/exchange/advanced-threat-protection/Set-PhishFilterPolicy.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3636

3737
### Example 1
3838
```powershell
39-
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"; $UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"; Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
39+
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"
40+
$UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"
41+
Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
4042
```
4143

4244
This configures the phish filter policy to block or allow all spoofed email messages from a source messaging server.
@@ -49,7 +51,9 @@ This configures the phish filter policy to block or allow all spoofed email mess
4951

5052
### Example 2
5153
```powershell
52-
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"; $UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"; Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
54+
Get-PhishFilterPolicy -Detailed -SpoofAllowBlockList | Export-CSV "C:\My Documents\Spoofed Senders.csv"
55+
$UpdateSpoofedSenders = Get-Content -Raw "C:\My Documents\Spoofed Senders.csv"
56+
Set-PhishFilterPolicy -Identity Default -SpoofAllowBlockList $UpdateSpoofedSenders
5357
```
5458

5559
This example configures the phish filter policy to selectively block or allow some spoofed email messages from a source messaging server.

0 commit comments

Comments
 (0)