CmdID / PowerShell / Cmdlets / Get
Get-TenantAllowBlockListItems
Use the Get-TenantAllowBlockListItems cmdlet to view entries in the Tenant Allow/Block List in the Microsoft Defender portal. Exchange PowerShell reference
From the Exchange PowerShell reference 8 parameters Its page in the reference
Parameters
-ListTypeThe ListType parameter specifies the list to view.-EntryThe Entry parameter filters the results based on the ListType parameter value.-NoExpirationThe NoExpiration switch filters the results by entries that are set to never expire.-AllowThe Allow switch filters the results for allow entries.-BlockThe Block switch filters the results for block entries.-ExpirationDateThe ExpirationDate parameter filters the results by expiration date in Coordinated Universal Time (UTC).-ListSubTypeThe ListSubType parameter filters the results by subtype.-OutputJsonThe OutputJson switch specifies whether to return all entries in a single JSON value.