Open
Description
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