Get-SmAuditSettings
Contributors
Suggest changes
Retrieves the audit file retention, size and location.
Syntax
Get-SmAuditSettings
Detailed Description
Retrieves the audit file maximum size, the maximum number of audit file backups to retain, and location for audit file.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|
Examples
Example 1: Getting audit log settings
Get-SmAuditSettings
This example gets audit log settings.
MaxFileSize MaxSizeRollBackups UniversalTime LogDirectory
----------- ------------------ ------------- ------------
10485760 10 False C:\auditing\