Don't have Telegram yet? Try it now!
https://sqldbawithabeard.com/2014/09/04/refreshing-availability-group-database-with-powershell/
Refreshing Availability Group Database with PowerShell