1,安装模块
Install-Module -Name PSBlackListChecker
2,获取IP在所有名单的状态
Search-BlackList "IP1" -ReturnAll
3,仅返回被列入黑名单的IP
$checkip ="ip1","ip2","ip3"
$allblacklist = Search-BlackList -IP $checkip | select IP,Blacklist,Islisted
2023-12-26 10:40:33
1,安装模块
Install-Module -Name PSBlackListChecker
2,获取IP在所有名单的状态
Search-BlackList "IP1" -ReturnAll
3,仅返回被列入黑名单的IP
$checkip ="ip1","ip2","ip3"
$allblacklist = Search-BlackList -IP $checkip | select IP,Blacklist,Islisted