microsoft / microsoft/sql-server-samples

Format File for Invoke-SqlAssessment of SQL Server Assessment APIs

オープン
#607 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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).

image

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.

image

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

image

With Select *

image

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?

image

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、SQLProvider.Format.ps1xml に既存する書式定義と Invoke-SqlAssessment の出力オブジェクトを確認します。CheckId、CheckName、Message、および必要に応じて HelpLink を表示する書式定義を追加し、その後、既定の cmdlet ビューでこれらのプロパティが表示され、パイプラインで使用するためのその他のデータも保持されることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, sql
領域
databases, tooling
issue の種類
機能追加
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。