Thor Logo dbatools

Test

Test-DbaAgPolicyState

the dbatools team + Claude

Test-DbaAgPolicyState View Source the dbatools team + Claude Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Tests Availability Group health against Microsoft’s Always On predefined policies. Description Evaluates the health of SQL Server Availability Groups by checking them against Microsoft’s predefined Always On policies from the Policy-Based Management framework. Returns one object per policy evaluated, including whether the policy check passed

Read more

Test-DbaAvailabilityGroup

Andreas Jordan (@JordanOrdix), ordix.de

Test-DbaAvailabilityGroup View Source Andreas Jordan (@JordanOrdix), ordix.de Windows, Linux, macOS On this page: Synopsis · Description · Syntax · Examples · Parameters · Outputs Synopsis Validates Availability Group replica connectivity and database prerequisites for AG operations Description Verifies that all replicas in an Availability Group are connected and communicating properly by checking ConnectionState across all replicas from the primary’s perspective. This helps you identify connectivity issues that could impact failover capabilities or data synchronization.

Read more