Skip to content

Commit 4d73c51

Browse files
committed
1 parent a12b4ef commit 4d73c51

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

exchange/exchange-ps/exchange/Get-AdminAuditLogConfig.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Exchange.RecordsandEdge-Help.xml
33
online version: https://learn.microsoft.com/powershell/module/exchange/get-adminauditlogconfig
4-
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Exchange Online Protection
4+
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online, Security & Compliance, Exchange Online Protection
55
title: Get-AdminAuditLogConfig
66
schema: 2.0.0
77
author: chrisda
@@ -26,7 +26,7 @@ Get-AdminAuditLogConfig [-DomainController <Fqdn>]
2626
```
2727

2828
## DESCRIPTION
29-
When audit logging is enabled, a log entry is created for each cmdlet that's run, excluding Get cmdlets.
29+
To check the UnifiedAuditLogIngestionEnabled value in the output of this cmdlet, run the command in Exchange Online PowerShell. The value in Security & Compliance PowerShell is always False and the Set-AdminAuditLogConfig cmdlet (and the UnifiedAuditLogIngestionEnabled parameter) is not available to change it.
3030

3131
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://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
3232

exchange/exchange-ps/exchange/Set-AdminAuditLogConfig.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ Accept wildcard characters: False
139139
### -AdminAuditLogEnabled
140140
This parameter is available only in on-premises Exchange.
141141
142-
The AdminAuditLogEnabled parameter specifies whether administrator audit logging is enabled. The default value is $true. The valid values are $true and $false. You must specify an administrator audit log mailbox before you enable logging.
142+
The AdminAuditLogEnabled parameter specifies whether administrator audit logging is enabled. Valid values are:
143+
144+
- $true: Administrator audit logging is enabled. This is the default value.
145+
- $false: Administrator audit logging is disabled.
146+
147+
You must specify an administrator audit log mailbox before you enable logging.
143148
144149
Changes to the administrator audit log configuration are always logged, regardless of whether audit logging is enabled or disabled.
145150
@@ -252,9 +257,10 @@ Accept wildcard characters: False
252257
### -LogLevel
253258
This parameter is available only in on-premises Exchange.
254259

255-
The LogLevel parameter specifies whether additional properties should be included in the log entries. Valid values are None and Verbose.
260+
The LogLevel parameter specifies whether additional properties should be included in the log entries. Valid values are:
256261

257-
By default, the CmdletName, ObjectName, Parameters (values), and the Caller, Succeeded and RunDate properties are included in log entries. When the Verbose value is used, the ModifiedProperties (old and new) and ModifiedObjectResolvedName properties are included in the log entries.
262+
- None: The CmdletName, ObjectName, Parameters (values), and the Caller, Succeeded and RunDate properties are included in log entries. This is the default value.
263+
- Verbose: The ModifiedProperties (old and new) and ModifiedObjectResolvedName properties are also included in log entries.
258264

259265
```yaml
260266
Type: AuditLogLevel
@@ -292,7 +298,10 @@ Accept wildcard characters: False
292298
### -TestCmdletLoggingEnabled
293299
This parameter is available only in on-premises Exchange.
294300

295-
The TestCmdletLoggingEnabled parameter specifies whether the execution of test cmdlets should be logged. Test cmdlets begin with the verb Test. Valid values are $true and $false. The default value is $false.
301+
The TestCmdletLoggingEnabled parameter specifies whether test cmdlets (cmdlet names that begin with the verb Test) results are included in admin audit logging. Valid values are:
302+
303+
- $true: Test cmdlets are included in admin audit logging.
304+
- $false: Test cmdlets aren't included in admin audit logging. This is the default value.
296305

297306
Test cmdlets can produce a large amount of information. As such, you should only enable logging of test cmdlets for a short period of time.
298307

@@ -314,8 +323,8 @@ This parameter is functional only in the cloud-based service.
314323

315324
The UnifiedAuditLogIngestionEnabled parameter specifies whether to enable or disable the recording of user and admin activities in the Microsoft 365 audit log. Valid values are:
316325

317-
- $true: User and admin activities are recorded in the Microsoft 365 audit log, and you can search the Microsoft 365 audit log.
318-
- $false: User and admin activities aren't recorded in the Microsoft 365 audit log, and you can't search the Microsoft 365 audit log. This is the default value.
326+
- $true: User and admin activities are recorded in the Microsoft 365 audit log, and admins can search the Microsoft 365 audit log. This is the default value.
327+
- $false: User and admin activities aren't recorded in the Microsoft 365 audit log, and admins can't search the Microsoft 365 audit log.
319328

320329
```yaml
321330
Type: Boolean

0 commit comments

Comments
 (0)