CmdID / PowerShell / Cmdlets / New
New-TenantAllowBlockListItems
Use the New-TenantAllowBlockListItems cmdlet to add entries to the Tenant Allow/Block List in the Microsoft Defender portal. Exchange PowerShell reference
From the Exchange PowerShell reference 12 parameters Its page in the reference
Parameters
-EntriesThe Entries parameter specifies the values that you want to add to the Tenant Allow/Block List based on the ListType parameter value:-ExpirationDateThe ExpirationDate parameter set the expiration date of the entry in Coordinated Universal Time (UTC).-ListTypeThe ListType parameter specifies the type of entry to add.-NoExpirationThe NoExpiration switch specifies that the entry should never expire.-AllowThe Allow switch specifies that you're creating an allow entry.-BlockThe Allow switch specifies that you're creating a block entry.-ListSubTypeThe ListSubType parameter specifies the subtype for this entry.-LogExtraDetails-NotesThe Notes parameters specifies additional information about the object.-RemoveAfterThe RemoveAfter parameter enables the Remove on > 45 days after last used date feature for an allow entry.-OutputJsonThe OutputJson switch specifies whether to return all entries in a single JSON value.-SubmissionIDThis parameter is reserved for internal Microsoft use.