Invoke-sqmSqlAlwaysOnAutoseeding
AlwaysOn sqmSQLTool v1.8.2+
Enables Automatic Seeding on all replicas of an Always On Availability Group.

Examples

# Uses the current computer name as default
# Uses the current computer name as default
Invoke-sqmSqlAlwaysOnAutoseeding
# Explicit instance specification
# Explicit instance specification
Invoke-sqmSqlAlwaysOnAutoseeding -SqlInstance "SQL01\INSTANCE"
# All groups on the current computer
# All groups on the current computer
Invoke-sqmSqlAlwaysOnAutoseeding -All