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

Update Instance.Assertions.ps1 #825

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

Ant-Green
Copy link
Contributor

Updated the params for each serviceadmin check to use the right one so the right error message is given.

Needs a doc change as this required PowerShell 5.1 to be installed on the remote machine to use the get-localgroupmember function which on older operating systems is not installed by default

A New PR

THANK YOU - We love to get PR's and really appreciate your time and help to improve this module

Accepting a PR

Before we accept the PR - please confirm that you have run the tests locally to avoid our automated build and release process failing. You can see how to do that in our wiki

https://github.com/sqlcollaborative/dbachecks/wiki

Please confirm you have 0 failing Pester Tests

[] There are 0 failing Pester tests

Changes this PR brings

Please add below the changes that this PR covers. It doesnt need an essay just the bullet points :-)

Copy link
Collaborator

@SQLDBAWithABeard SQLDBAWithABeard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to have a think about this one

@Ant-Green
Copy link
Contributor Author

More for friendlyness so it drops into the right param down the chain as the FullTextServiceAdmins is not visible at EngineServiceAdmin or AgentServiceAdmin so throws a none friendly error.

The wider issue of needing PowerShell 5.1 to make it work though is a longer term issue

@SQLDBAWithABeard SQLDBAWithABeard merged commit c43136a into dataplat:development Apr 7, 2021
@Ant-Green Ant-Green deleted the ServiceAdminFixes branch May 4, 2021 08:12
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.

None yet

2 participants