Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get-DbaDbMailServer shows incorrect e-mail account names if more than one account exists. #9496

Closed
VitalKoshalew opened this issue Oct 10, 2024 · 0 comments · Fixed by #9506
Labels
bugs life triage required New issue that has not been reviewed by maintainers

Comments

@VitalKoshalew
Copy link
Contributor

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

No error. The command output is incorrect if more than one e-mail accounts are defined.

Steps to Reproduce

# Need to have a SQL server with more than one e-mail account defined
get-dbaDbMailServer -SqlInstance instancename
# Result:
# "Account" field is the same for all resulting entries. All other fields are correct.

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

2.1.23

Other details or mentions

No response

What PowerShell host was used when producing this error

Windows PowerShell ISE (powershell_ise.exe)

PowerShell Host Version

Name Value


PSVersion 5.1.19041.3693
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.3693
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

SQL Server Edition and Build number

Microsoft SQL Server 2008 (SP4) - 10.0.6000.29 (X64) Sep 3 2014 04:11:34 Copyright (c) 1988-2008 Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.0 (Build 6002: Service Pack 2)

.NET Framework Version

.NET Framework 4.8.4739.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs life triage required New issue that has not been reviewed by maintainers
Projects
None yet
1 participant