Move-sqmAlwaysOnListener
AlwaysOn sqmSQLTool v1.8.2+
Migrates an AG Listener from one Availability Group to another.

Examples

# Move listener from Primary AG to Secondary AG (before failover)
# Move listener from Primary AG to Secondary AG (before failover)
    Move-sqmAgListener -SqlInstance "SQL01" -SourceAgName "ProductionAG" `
        -TargetAgName "DrAG" -TargetInstance "DR-SQL01"