Editar

Compartir a través de


Get-DetailZapReport

This cmdlet is available only in the cloud-based service.

Use the Get-DetailZapReport cmdlet to view details about zero-hour auto purge (ZAP) activity. By default, the cmdlet shows the last three days of activity, but you can specify up to ten days.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Get-DetailZapReport
   [[-EndDate] <System.DateTime>]
   [[-Page] <Int32>]
   [[-PageSize] <Int32>]
   [[-StartDate] <System.DateTime>]
   [<CommonParameters>]

Description

For the reporting period you specify, the cmdlet returns the following default information:

  • Subject
  • Received Time
  • Sender

If you append the command with | Format-List, the following additional information is returned for each entry:

  • Recipient
  • ZAP Time
  • Original Threat
  • Original Location
  • Updated Threat
  • Updated Delivery Location
  • Delivery Status
  • Detection Technology

You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-DetailZapReport

This example retrieves information for the last 3 days.

Example 2

Get-DetailZapReport -StartDate 7/1/2023 -EndDate 7/9/2023

This example retrieves information for the specified date range.

Parameters

-EndDate

The EndDate parameter specifies the end date of the date range.

Use the short date format that's defined in the Regional Options settings on the computer where you're running the command. For example, if the computer is configured to use the short date format MM/dd/yyyy, enter 09/01/2018 to specify September 1, 2018. You can enter the date only. If you enter the date, enclose the value in quotation marks ("), for example, "09/01/2018".

If you use this parameter, you also need to use the StartDate parameter.

Type:System.DateTime
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online

-Page

The Page parameter specifies the page number of the results you want to view. Valid input for this parameter is an integer between 1 and 1000. The default value is 1.

Type:Int32
Position:2
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-PageSize

The PageSize parameter specifies the maximum number of entries per page. Valid input for this parameter is an integer between 1 and 5000. The default value is 1000.

Type:Int32
Position:3
Default value:0
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Exchange Online

-StartDate

The StartDate parameter specifies the start date of the date range.

Use the short date format that's defined in the Regional Options settings on the computer where you're running the command. For example, if the computer is configured to use the short date format MM/dd/yyyy, enter 09/01/2018 to specify September 1, 2018. You can enter the date only, or you can enter the date and time of day. If you enter the date and time of day, enclose the value in quotation marks ("), for example, "09/01/2018".

If you use this parameter, you also need to use the StartDate parameter.

Type:System.DateTime
Position:4
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Exchange Online