Hey Experts,I need some solution for one of my powershell code.I am using powershell script to take the backup for the databases but looks like its not working as expected for multiple AV groups which means.ServerA has 10 databases as Primary which has readonly (secondary replica) copy on ServerBServerB has 10 databases as Primary which has readonly (secondary replica) copy on ServerAServerA and ServerB also has some database which are not in AlwaysON.Is there any way I can filter Write and Non AlwaysOn databases through powershell cmdlets, smo? Thanks in advanceRegards,Austin
↧