rubrikinc / rubrik-scripts-for-powershell

Collection of PowerShell Scripts created to interact to Rubrik CDM
MIT License
50 stars 58 forks source link

SQL Data Profiler: Report on database AlwaysOn Availability Group Membership/Status #84

Closed ghost closed 2 years ago

ghost commented 5 years ago

What would you like to be added: Identify if a database is in an AlwaysOn Availability Group, and what its status is (primary/secondary/etc.) Why is this needed: Need to ensure we do not size passive copies of databases.

Also need to distinguish when there are databases with the same name on different servers that do need to be protected. I.e. "DB1" on servers "DB1-Prod", "DB1-Dev", etc.

Additional context