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

New-DbaComputerCertificate - 6th Example is wrong in Synopsis and should be removed #8908

Closed
HCRitter opened this issue May 9, 2023 · 2 comments
Labels
documentation triage required New issue that has not been reviewed by maintainers

Comments

@HCRitter
Copy link
Contributor

HCRitter commented May 9, 2023

Verified issue does not already exist?

I have searched and found no existing issue

What error did you receive?

New-DbaComputerCertificate - 6th Example is wrong in Synopsis and should be removed

is:

<#
-------------------------- EXAMPLE 6 --------------------------

 PS C:\> Add-DbaComputerCertificate -ComputerName sql01 -Path C:\temp\sql01.pfx -Confirm:$false
-Flag NonExportable



Adds the local C:\temp\sql01.pfx to sql01's LocalMachine\My (Personal) certificate store and
marks the private key as non-exportable. Skips confirmation prompt.
#>

This example is pointing to another command and should be removed

Steps to Reproduce

(Get-Help -Examples -Name New-DbaComputerCertificate).examples.example[5]

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

2.0.1

Other details or mentions

No response

What PowerShell host was used when producing this error

PowerShell Core (pwsh.exe)

PowerShell Host Version

PSVersion 7.3.4
PSEdition Core
GitCommitId 7.3.4
OS Microsoft Windows 10.0.19045
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

None

.NET Framework Version

.NET 7.0.5

@HCRitter HCRitter added bugs life triage required New issue that has not been reviewed by maintainers labels May 9, 2023
@HCRitter
Copy link
Contributor Author

if you say that this can be removed, I will create a pull request for this :)

@potatoqualitee
Copy link
Member

merciii

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

No branches or pull requests

3 participants