microsoft / microsoft/sql-server-samples
Format File for Invoke-SqlAssessment of SQL Server Assessment APIs
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- PowerShell
- Sterne
- 11.2k
- Forks
- 9.1k
- Ø Merge
- 2 T. 7 Std.
- Gemergte PRs (30 T.)
- 14
Beschreibung
The cmdlet Get-SqlAssessment has a format file associated with it (I can't find it in SQLProvider.Format.ps1xml but it is getting formatted).

It's a great help showing only the information that is needed at a glance and saving the extra information in case it'll be used down the pipeline, like Level, Tags, etc.

Invoke-SqlAssessment
Invoke-SqlAssessment does not have a format file and I'd argue that it would require one.
The expectation would be that the results of the Invoke-SqlAssessment would be looked at more than people would look at the results of Get-SqlAssessmentItem
Current View
Currently the cmdlet returns :
Default

With Select *

which are the exact same data.
However, I'd argue that the information required at a glance would be properties : CheckId, CheckName, Message, and (potentially) HelpLink.
Action
Can we include a format file for Invoke-SqlAssessment that returns the properties : CheckId, CheckName, Message, and (potentially) HelpLink?

Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Untersuchung der vorhandenen Formatierungsdefinitionen in SQLProvider.Format.ps1xml und des Ausgabeobjekts von Invoke-SqlAssessment. Füge eine Formatdefinition hinzu, die CheckId, CheckName, Message und gegebenenfalls HelpLink anzeigt, und überprüfe anschließend, dass die Standardansicht des Cmdlets diese Eigenschaften darstellt, während die übrigen Daten für die Pipeline-Nutzung erhalten bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell, sql
- Bereich
- databases, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100