dbatools is a free PowerShell module with over 180 SQL Server administration, best practice and migration commands included.


This function is not currently available.

Getting the replication database to initialize has been challenging. Know SMO and would like to help? Here’s the code I’ve got so far.

Get-Help

From PowerShell, execute Get-Help Copy-SqlReplication -Detailed for more information on this function.

Source Code

Want to see the source code? View Copy-SqlReplication.ps1 on GitHub
 

Related commands