CmdID / PowerShell / Cmdlets / Add
Add-IPBlockListEntry
Use the Add-IPBlockListEntry cmdlet to add IP Block list entries to the IP Block list that's used by the Connection Filtering agent on Edge Transport servers. Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IPAddressThe IPAddress parameter specifies a single IP address to add to the IP Block list, for example, 192.168.0.1.-IPRangeThe IPRange parameter specifies a range of IP addresses to add to the IP Block list.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ExpirationTimeThe ExpirationTime parameter specifies a day and time when the IP Block list entry expires.-ServerThe Server parameter specifies the Exchange server where you want to run this command.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.