Skip to content

Pass credential through, if provided for -RestartService from Set-DbaNetworkCertificate #9862

@CwnAnnwn

Description

@CwnAnnwn

Summarize Functionality

Calling Set-DbaNetworkCertificate with the -Credential and -RestartService parameters set fails to restart the service as the credential is not subsequently passed to the Restart-DbaService command.

Is there a command that is similiar or close to what you are looking for?

Yes

Technical Details

Line 243, "$null = Restart-DbaService -SqlInstance $instance -Force": include the credential if passed.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions