SQL Logins for always on instances require that the SID match across all nodes in the cluster. DBAtools already supports the SID parameter so just adding it as an optional parameter to the login module and passing it onto the dbatools should suffice.
SQL Logins for always on instances require that the SID match across all nodes in the cluster. DBAtools already supports the SID parameter so just adding it as an optional parameter to the login module and passing it onto the dbatools should suffice.