dataplat / dbatools

πŸš€ SQL Server automation and instance migrations have never been safer, faster or freer
https://dbatools.io
MIT License
2.44k stars 794 forks source link

Get-DbaErrorLogin listed on commands page but apparently does not exist #5844

Closed SQLGB closed 4 years ago

SQLGB commented 5 years ago

Environmental information

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

dbatools Module version:

Name : dbatools Path : C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.11\dbatools.psd1 Version : 1.0.11

1033 en-US English (United States)

SQL Server:

Microsoft SQL Server 2016 (SP2-CU2-GDR) (KB4458621) - 13.0.5201.2 (X64) Aug 18 2018 07:38:15 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 (Build 9600: ) (Hypervisor)

us_english

Report

#### Host used - [ ] powershell.exe - [x] ISE - [ ] VS Code - [ ] Other (please specify) If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe - [x] Still buggy in powershell.exe #### Errors Received

Steps to Reproduce

Browse https://dbatools.io/commands/ find Get-DbaErrorLogin and click on it, or run "get-command Get-DbaErrorLogin" in PowerShell.

Expected Behavior

Help page or summary for valid command.

Actual Behavior

404 Function not found (web) and "get-command : The term 'Get-DbaErrorLogin' is not recognized as the name of a cmdlet..." in PowerShell. Suspect this is a result of a find/replace operation gone wrong (command name very similar to "Get-DbaErrorLog".

potatoqualitee commented 5 years ago

indeed that is true, thank you. i have updated the page πŸ’―

SQLGB commented 5 years ago

@potatoqualitee FYI, same issue for these 8 commands:

Test-DbaDbDataGeneratorConfiguration Get-DbaInstanceRole New-DbaInstanceRole Remove-DbaInstanceRole Select-DbaObject Get-DbaInstanceRoleMember Find-DbaUnusedIndex Set-DbatoolsConfig

SQLGB commented 5 years ago

Minor correction - these two are apparently found via get-command, but the online help pages don't exist...

Select-DbaObject Set-DbatoolsConfig

potatoqualitee commented 5 years ago

Thanks so very much, @SQLGB I am unsure how I'm going to get the cmdlet help into there. @niphlod can you offer any suggestions? It exists in Get-Help, can we smash it into the json? @ClaudioESSilva would you be able to take a look at the webpage?

potatoqualitee commented 5 years ago

ping @niphlod

niphlod commented 5 years ago

Assign this to me, I'll take a look ASAP

Il mar 9 lug 2019, 11:27 Chrissy LeMaire notifications@github.com ha scritto:

ping @niphlod https://github.com/niphlod

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sqlcollaborative/dbatools/issues/5844?email_source=notifications&email_token=AAA52BYK3SK4HLSWWUCKDMLP6RKY3A5CNFSM4H4UHA5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZPV44Q#issuecomment-509566578, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA52B3ZQBZHAJYCGNXDTRLP6RKY3ANCNFSM4H4UHA5A .

potatoqualitee commented 5 years ago

thanks niph!

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. If you would like this issue to remain open:

niphlod commented 5 years ago

Keep this up bot

Il dom 8 set 2019, 13:00 stale[bot] notifications@github.com ha scritto:

This issue has been automatically marked as stale because it has not had recent activity. If you would like this issue to remain open:

  • Verify that you can still reproduce the issue in the latest version of dbatools
  • Comment that the issue is still reproducible and include:
    • What version of dbatools you reproduced the issue on
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

β€” You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/sqlcollaborative/dbatools/issues/5844?email_source=notifications&email_token=AAA52B2KREAWWKQ22KGGF4TQITLLLA5CNFSM4H4UHA5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6FNG2A#issuecomment-529191784, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA52BZBJ4J3MF2BDGFAM2DQITLLLANCNFSM4H4UHA5A .