|
Parameter
|
Required
|
Type
|
Description
|
|---|
|
AdminAuditLogAgeLimit
|
Optional
|
Microsoft.Exchange.Data.EnhancedTimeSpan
|
The AdminAuditLogAgeLimit parameter specifies how long each log entry should be kept before it's deleted. The default age limit is one year.
To specify a value, enter it as a time span: dd.hh:mm:ss where d = days, h = hours, m = minutes, and s = seconds.
To clear the age limit, specify a value of $null. If you clear the age limit, log entries will never be deleted.
Caution:
Setting the age limit to a value less than the current limit will cause log entries older than the new limit to be deleted.
Setting the age limit to 0 purges the audit log of all entries.
|
|
AdminAuditLogCmdlets
|
Optional
|
Microsoft.Exchange.Data.MultiValuedProperty
|
The AdminAuditLogCmdlets parameter specifies which cmdlets should be audited. You can specify one or more cmdlets, separated by commas. You can also use the wildcard character (*) to match multiple cmdlets in one or more of the entries in the cmdlet list. To audit all cmdlets, specify only the wildcard character (*).
|
|
AdminAuditLogEnabled
|
Optional
|
System.Boolean
|
The AdminAuditLogEnabled parameter specifies whether administrator audit logging is enabled. The default value is $false. The valid values are $true and $false. You must specify an administrator audit log mailbox before you enable logging.
Note:
Changes to the administrator audit log configuration are always logged, regardless of whether audit logging is enabled or disabled.
|
|
AdminAuditLogExcludedCmdlets
|
Optional
|
Microsoft.Exchange.Data.MultiValuedProperty
|
The AdminAuditLogExcludedCmdlets parameter specifies which cmdlets should be excluded from auditing. Use this parameter if you want to exclude specific cmdlets you don't want to audit even if they match a wildcard string specified in the AdminAuditLogCmdlets parameter.
You can specify one or more cmdlets, separated by commas. You can also use the wildcard character (*) to match multiple cmdlets in one or more of the entries in the cmdlet list. You can't specify only the wildcard character (*).
If you want to clear the list, specify a value of $Null.
|
|
AdminAuditLogParameters
|
Optional
|
Microsoft.Exchange.Data.MultiValuedProperty
|
The AdminAuditLogParameters parameter specifies which parameters should be audited on the cmdlets you specified using the AdminAuditLogCmdlets parameter. You can specify one or more parameters, separated by commas. You can also use the wildcard character (*) to match multiple parameters in one or more of the entries in the parameters list. To audit all parameters, specify only the wildcard character (*).
|
|
Confirm
|
Optional
|
System.Management.Automation.SwitchParameter
|
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.
|
|
DomainController
|
Optional
|
Microsoft.Exchange.Data.Fqdn
|
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory.
|
|
Force
|
Optional
|
System.Management.Automation.SwitchParameter
|
The Force switch specifies whether to suppress warning or confirmation messages. This switch can be used when the task is run programmatically and prompting for administrative input is inappropriate. If the Force switch isn't provided in the command, you're prompted for administrative input. You don't have to specify a value with this parameter.
|
|
Identity
|
Optional
|
Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter
|
This parameter is available for multi-tenant deployments. It isn't available for on-premises deployments. For more information about multi-tenant deployments, see Multi-Tenant Support.
The Identity parameter specifies the identity of the tenant organization.
|
|
Name
|
Optional
|
System.String
|
The Name parameter specifies the name of the AdminAuditLogConfig object.
Note:
You don't need to specify this parameter when configuring administrator audit logging. It doesn't affect your configuration or how administrator audit logging works.
|
|
TestCmdletLoggingEnabled
|
Optional
|
System.Boolean
|
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.
Important:
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.
|
|
WhatIf
|
Optional
|
System.Management.Automation.SwitchParameter
|
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.
|