CmdID / PowerShell / Cmdlets / Set
Set-AdminAuditLogConfig
Use the Set-AdminAuditLogConfig cmdlet to configure the administrator audit logging configuration settings. Exchange PowerShell reference
From the Exchange PowerShell reference 14 parameters Its page in the reference
Parameters
-IdentityThis parameter is reserved for internal Microsoft use.-AdminAuditLogAgeLimitThe AdminAuditLogAgeLimit parameter specifies how long each log entry should be kept before it's deleted.-AdminAuditLogCmdletsThe AdminAuditLogCmdlets parameter specifies which cmdlets should be audited.-AdminAuditLogEnabledThe AdminAuditLogEnabled parameter specifies whether administrator audit logging is enabled.-AdminAuditLogExcludedCmdletsThe AdminAuditLogExcludedCmdlets parameter specifies which cmdlets should be excluded from auditing.-AdminAuditLogParametersThe AdminAuditLogParameters parameter specifies which parameters should be audited on the cmdlets you specified using the AdminAuditLogCmdlets parameter.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ForceThe Force switch hides warning or confirmation messages.-LogLevelThe LogLevel parameter specifies whether additional properties should be included in the log entries.-NameThe Name parameter specifies the name of the AdminAuditLogConfig object.-TestCmdletLoggingEnabledThe TestCmdletLoggingEnabled parameter specifies whether test cmdlets (cmdlet names that begin with the verb Test) results are included in admin audit logging.-UnifiedAuditLogIngestionEnabledThe UnifiedAuditLogIngestionEnabled parameter specifies whether to enable or disable the recording of user and admin activities in the Microsoft 365 audit log.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.