Skip to content

Remove-DbaReplArticle - Unable to find type [Microsoft.SqlServer.Replication.Article] #9655

Open
@mattcargile

Description

@mattcargile

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

Unable to find type [Microsoft.SqlServer.Replication.Article]

Steps to Reproduce

Import-Module dbatools
Get-Help *defrag* # Error
Get-Help Microsoft.SqlServer.Replication.Article # Error
Get-Command Remove-DbaReplArticle -mo dbatools | ForEach-Object -MemberName get_Parameters # Error

Please confirm that you are running the most recent version of dbatools

2.1.30

Other details or mentions

Consider dropping the function for now to avoid the error.

What PowerShell host was used when producing this error

PowerShell Core (pwsh.exe), Windows PowerShell (powershell.exe)

PowerShell Host Version

Name                           Value
----                           -----
PSVersion                      7.5.0
PSEdition                      Core
GitCommitId                    7.5.0
OS                             Microsoft Windows 10.0.22631
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

Not Applicable

.NET Framework Version

.NET 9.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugs lifetriage requiredNew issue that has not been reviewed by maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions