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: Fix e-mail account names if more than one account exists #9497

Conversation

VitalKoshalew
Copy link
Contributor

Fix an error that results in all account names matching the first account instead of corresponding to real account names.

Type of Change

Purpose

Fix an error that results in all account names matching the first account instead of corresponding to real account names.

Approach

Each corresponding account name is used instead of the only using first account name for all results.

…ount instead of corresponding to real account names.
@andreasjordan
Copy link
Contributor

Test failes:

Describe : dbatools style
Context  : formatting
Name     : It Get-DbaDbMailServer.ps1 is not compliant with the OTBS formatting style. Please run Invoke-DbatoolsFormatter against the failing file and commit the changes.
Result   : Failed
Message  : Expected 0, but got 1.

@andreasjordan andreasjordan changed the title Proposed fix for issue #9496. Get-DbaDbMailServer: Fix e-mail account names if more than one account exists Oct 10, 2024
@potatoqualitee
Copy link
Member

Unfortunately, this is an old copy of the repo and it's too large. I have to close it. Please delete your local repo and reclone for the smaller version. Till then, I will cherry pick your changes and then resubmit them under a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get-DbaDbMailServer shows incorrect e-mail account names if more than one account exists.
3 participants