Curated Examples
Check a single IP address
Use PSBlackListChecker to check one IP address and review all DNSBL results.
This pattern is useful when you want to inspect one public address before opening a mail-delivery case.
It is adapted from Examples/Search-BlackList-Manual.ps1.
Example
Import-Module PSBlackListChecker
$ipAddress = '203.0.113.10'
Search-BlackList -IP $ipAddress -ReturnAll |
Sort-Object IsListed, BlackList -Descending |
Format-Table IP, BlackList, IsListed, Answer -AutoSize
What this demonstrates
- checking one address
- returning both listed and clean responses
- sorting output so possible hits are easy to review