microsoft / microsoft/sql-server-samples
Format File for Invoke-SqlAssessment of SQL Server Assessment APIs
まだ誰も着手していません。
- 主要言語
- PowerShell
- スター
- 11.2k
- フォーク
- 9.1k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 14
説明
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?

コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、SQLProvider.Format.ps1xml に既存する書式定義と Invoke-SqlAssessment の出力オブジェクトを確認します。CheckId、CheckName、Message、および必要に応じて HelpLink を表示する書式定義を追加し、その後、既定の cmdlet ビューでこれらのプロパティが表示され、パイプラインで使用するためのその他のデータも保持されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell, sql
- 領域
- databases, tooling
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100