Skip to content

Commit 30b5c77

Browse files
authored
Merge pull request MicrosoftDocs#4864 from MicrosoftDocs/chrisda
Update Search-UnifiedAuditLog.md
2 parents f07f1fa + 0590f7d commit 30b5c77

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

exchange/exchange-ps/exchange/policy-and-compliance-audit/Search-UnifiedAuditLog.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,13 @@ This example searches the unified audit log from May 1, 2018 to May 8, 2018 for
9494
## PARAMETERS
9595

9696
### -EndDate
97-
The EndDate parameter specifies the end date of the date range.
97+
The EndDate parameter specifies the end date of the date range. Entries are stored in the unified audit log in Coordinated Universal Time (UTC). If you specify a date/time value without a time zone, the value is in UTC.
9898

99-
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".
99+
To specify a date/time value for this parameter, use either of the following options:
100+
101+
- Specify the date/time value in UTC: For example, `"2018-05-06 14:30:00z"`.
102+
103+
- Specify the date/time value as a formula that converts the date/time in your local time zone to UTC: For example, `(Get-Date "5/6/2018 9:30 AM").ToUniversalTime()`. For more information, see [Get-Date](https://go.microsoft.com/fwlink/p/?LinkID=113313).
100104

101105
If you don't include a timestamp in the value for this parameter, the default timestamp is 12:00 AM (midnight) on the specified date.
102106

@@ -114,9 +118,13 @@ Accept wildcard characters: False
114118
```
115119
116120
### -StartDate
117-
The StartDate parameter specifies the start date of the date range.
121+
The StartDate parameter specifies the start date of the date range. Entries are stored in the unified audit log in Coordinated Universal Time (UTC). If you specify a date/time value without a time zone, the value is in UTC.
122+
123+
To specify a date/time value for this parameter, use either of the following options:
124+
125+
- Specify the date/time value in UTC: For example, `"2018-05-06 14:30:00z"`.
118126
119-
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".
127+
- Specify the date/time value as a formula that converts the date/time in your local time zone to UTC: For example, `(Get-Date "5/6/2018 9:30 AM").ToUniversalTime()`. For more information, see [Get-Date](https://go.microsoft.com/fwlink/p/?LinkID=113313).
120128

121129
If you don't include a timestamp in the value for this parameter, the default timestamp is 12:00 AM (midnight) on the specified date.
122130

0 commit comments

Comments
 (0)