Thor Logo dbatools

ServerAudit

Copy-DbaInstanceAuditSpecification

Chrissy LeMaire (@cl), netnerds.net

Copy-DbaInstanceAuditSpecification View Source Chrissy LeMaire (@cl), netnerds.net Windows, Linux, macOS Synopsis Copies server audit specifications from one SQL Server instance to another for compliance standardization. Description Migrates server audit specifications between SQL Server instances, allowing DBAs to standardize audit configurations across environments or restore audit settings during disaster recovery. The function scripts existing audit specifications from the source server and recreates them on the destination, but only if the corresponding server audits already exist on the target instance.

Read more