Skip to content

Commit 5202239

Browse files
authored
Merge pull request MicrosoftDocs#8683 from MicrosoftDocs/Encrypt-chrisda
Encrypt-chrisda to Master
2 parents a6f9783 + 9cb5ad5 commit 5202239

File tree

4 files changed

+555
-0
lines changed

4 files changed

+555
-0
lines changed
Lines changed: 275 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
---
2+
external help file: Microsoft.Exchange.ServerStatus-Help.xml
3+
online version: https://docs.microsoft.com/powershell/module/exchange/get-maildetailencryptionreport
4+
applicable: Exchange Online, Security & Compliance Center
5+
title: Get-MailDetailEncryptionReport
6+
schema: 2.0.0
7+
author: chrisda
8+
ms.author: chrisda
9+
ms.reviewer:
10+
---
11+
12+
# Get-MailDetailEncryptionReport
13+
14+
## SYNOPSIS
15+
This cmdlet is available only in the cloud-based service.
16+
17+
Use the Get-MailDetailEncryptionReport cmdlet to view the details of encryption in your cloud-based organization for the last 10 days.
18+
19+
**Note**: We recommend that you use the Exchange Online PowerShell V2 module to connect to Exchange Online PowerShell. For instructions, see [Connect to Exchange Online PowerShell](https://docs.microsoft.com/powershell/exchange/connect-to-exchange-online-powershell).
20+
21+
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://docs.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
22+
23+
## SYNTAX
24+
25+
```
26+
Get-MailDetailEncryptionReport
27+
[-AggregateBy <String>]
28+
[-Direction <MultiValuedProperty>]
29+
[-Domain <MultiValuedProperty>]
30+
[-EndDate <System.DateTime>]
31+
[-EventType <MultiValuedProperty>]
32+
[-MessageId <MultiValuedProperty>]
33+
[-MessageTraceId <MultiValuedProperty>]
34+
[-Page <Int32>]
35+
[-PageSize <Int32>]
36+
[-ProbeTag <String>]
37+
[-StartDate <System.DateTime>]
38+
[<CommonParameters>]
39+
```
40+
41+
## DESCRIPTION
42+
For the reporting period you specify, the cmdlet returns the following default information:
43+
44+
- DateTime
45+
- Message ID
46+
- Message Trace ID
47+
48+
If you append the command with ` | Format-List`, the following additional information is returned:
49+
50+
- Domain
51+
- Direction
52+
- Recipient Address
53+
- Sender IP
54+
- Sender Address
55+
- Message Size
56+
- Subject
57+
58+
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](https://docs.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
59+
60+
## EXAMPLES
61+
62+
### Example 1
63+
```powershell
64+
Get-MailDetailEncryptionReport -StartDate 12/13/2021 -EndDate 12/15/2021
65+
```
66+
67+
This example retrieves encryption details for messages between December 13, 2021 and December 15, 2021.
68+
69+
## PARAMETERS
70+
71+
### -AggregateBy
72+
The AggregateBy parameter specifies the reporting period. Valid values are Hour, Day, or Summary. The default value is Day.
73+
74+
```yaml
75+
Type: String
76+
Parameter Sets: (All)
77+
Aliases:
78+
Applicable: Exchange Online, Security & Compliance Center
79+
80+
Required: False
81+
Position: Named
82+
Default value: None
83+
Accept pipeline input: False
84+
Accept wildcard characters: False
85+
```
86+
87+
### -Direction
88+
The Direction parameter filters the results by incoming or outgoing messages. Valid values are Inbound and Outbound.
89+
90+
```yaml
91+
Type: MultiValuedProperty
92+
Parameter Sets: (All)
93+
Aliases:
94+
Applicable: Exchange Online, Security & Compliance Center
95+
96+
Required: False
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: False
100+
Accept wildcard characters: False
101+
```
102+
103+
### -Domain
104+
The Domain parameter filters the results by an accepted domain in the cloud-based organization. You can specify multiple domain values separated by commas, or the value All.
105+
106+
```yaml
107+
Type: MultiValuedProperty
108+
Parameter Sets: (All)
109+
Aliases:
110+
Applicable: Exchange Online, Security & Compliance Center
111+
112+
Required: False
113+
Position: Named
114+
Default value: None
115+
Accept pipeline input: True (ByPropertyName, ByValue)
116+
Accept wildcard characters: False
117+
```
118+
119+
### -EndDate
120+
The EndDate parameter specifies the end date of the date range.
121+
122+
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 5:00 PM".
123+
124+
```yaml
125+
Type: System.DateTime
126+
Parameter Sets: (All)
127+
Aliases:
128+
Applicable: Exchange Online, Security & Compliance Center
129+
130+
Required: False
131+
Position: Named
132+
Default value: None
133+
Accept pipeline input: False
134+
Accept wildcard characters: False
135+
```
136+
137+
### -EventType
138+
The EventType parameter filters the report by the event type. Valid values are:
139+
140+
- EncryptionManual
141+
- EncryptionPolicy
142+
143+
To view the potential list of valid values for this parameter, run the command: `Get-MailFilterListReport -SelectionTarget EventTypes`. The event type must correspond to the report.
144+
145+
You can specify multiple values separated by commas.
146+
147+
```yaml
148+
Type: MultiValuedProperty
149+
Parameter Sets: (All)
150+
Aliases:
151+
Applicable: Exchange Online, Security & Compliance Center
152+
153+
Required: False
154+
Position: Named
155+
Default value: None
156+
Accept pipeline input: False
157+
Accept wildcard characters: False
158+
```
159+
160+
### -MessageId
161+
The MessageId parameter filters the results by the Message-ID header field of the message. This value is also known as the Client ID. The format of the Message-ID depends on the messaging server that sent the message. The value should be unique for each message. However, not all messaging servers create values for the Message-ID in the same way. Be sure to include the full Message ID string (which may include angle brackets) and enclose the value in quotation marks (for example, "<d9683b4c-127b-413a-ae2e-fa7dfb32c69d@DM3NAM06BG401.Eop-nam06.prod.protection.outlook.com>").
162+
163+
You can specify multiple values separated by commas.
164+
165+
```yaml
166+
Type: MultiValuedProperty
167+
Parameter Sets: (All)
168+
Aliases:
169+
Applicable: Exchange Online, Security & Compliance Center
170+
171+
Required: False
172+
Position: Named
173+
Default value: None
174+
Accept pipeline input: False
175+
Accept wildcard characters: False
176+
```
177+
178+
### -MessageTraceId
179+
The MessageId parameter filters the results by the Message-ID header field of the message. This value is also known as the Client ID. The format of the Message-ID depends on the messaging server that sent the message. The value should be unique for each message. However, not all messaging servers create values for the Message-ID in the same way. Be sure to include the full Message ID string (which may include angle brackets) and enclose the value in quotation marks (for example, "<d9683b4c-127b-413a-ae2e-fa7dfb32c69d@DM3NAM06BG401.Eop-nam06.prod.protection.outlook.com>").
180+
181+
You can specify ultiple values separate by commas.
182+
183+
```yaml
184+
Type: MultiValuedProperty
185+
Parameter Sets: (All)
186+
Aliases:
187+
Applicable: Exchange Online, Security & Compliance Center
188+
189+
Required: False
190+
Position: Named
191+
Default value: None
192+
Accept pipeline input: False
193+
Accept wildcard characters: False
194+
```
195+
196+
### -Page
197+
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.
198+
199+
```yaml
200+
Type: Int32
201+
Parameter Sets: (All)
202+
Aliases:
203+
Applicable: Exchange Online, Security & Compliance Center
204+
205+
Required: False
206+
Position: Named
207+
Default value: None
208+
Accept pipeline input: False
209+
Accept wildcard characters: False
210+
```
211+
212+
### -PageSize
213+
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.
214+
215+
```yaml
216+
Type: Int32
217+
Parameter Sets: (All)
218+
Aliases:
219+
Applicable: Exchange Online, Security & Compliance Center
220+
221+
Required: False
222+
Position: Named
223+
Default value: None
224+
Accept pipeline input: False
225+
Accept wildcard characters: False
226+
```
227+
228+
### -ProbeTag
229+
This parameter is reserved for internal Microsoft use.
230+
231+
```yaml
232+
Type: String
233+
Parameter Sets: (All)
234+
Aliases:
235+
Applicable: Exchange Online, Security & Compliance Center
236+
237+
Required: False
238+
Position: Named
239+
Default value: None
240+
Accept pipeline input: False
241+
Accept wildcard characters: False
242+
```
243+
244+
### -StartDate
245+
The StartDate parameter specifies the start date of the date range.
246+
247+
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 5:00 PM".
248+
249+
```yaml
250+
Type: System.DateTime
251+
Parameter Sets: (All)
252+
Aliases:
253+
Applicable: Exchange Online, Security & Compliance Center
254+
255+
Required: False
256+
Position: Named
257+
Default value: None
258+
Accept pipeline input: False
259+
Accept wildcard characters: False
260+
```
261+
262+
### CommonParameters
263+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
264+
265+
## INPUTS
266+
267+
###
268+
269+
## OUTPUTS
270+
271+
###
272+
273+
## NOTES
274+
275+
## RELATED LINKS

0 commit comments

Comments
 (0)