-
-
Notifications
You must be signed in to change notification settings - Fork 837
Description
Verified issue does not already exist?
I have searched and found no existing issue
What error did you receive?
The example in the documentation for Enable-DbaReplPublishing is wrong. The command is right, but the parameters and the description of the example is from Enable-DbaStartupProcedure. Below is copied from https://github.com/dataplat/dbatools/blob/development/public/Enable-DbaReplPublishing.ps1
.EXAMPLE
PS C:\> Enable-DbaReplPublishing -SqlInstance SqlBox1\Instance2 -StartupProcedure '[dbo].[StartUpProc1]'
Attempts to set the procedure '[dbo].[StartUpProc1]' in the master database of SqlBox1\Instance2 for automatic execution when the instance is started.
Looks like a copy/paste-issue :)
Steps to Reproduce
Get-Help Enable-DbaReplPublishing -Examples
Please confirm that you are running the most recent version of dbatools
2.1.30
Other details or mentions
No response
What PowerShell host was used when producing this error
PowerShell Core (pwsh.exe)
PowerShell Host Version
Name Value
PSVersion 7.4.6
PSEdition Core
GitCommitId 7.4.6
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
SQL Server Edition and Build number
N/A
.NET Framework Version
N/A