ja-JP/PSGalleryTracker-Help.xml
|
<?xml version="1.0" encoding="utf-8"?>
<helpItems xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10" schema="maml" xmlns="http://msh"> <command:command> <command:details> <command:name>Get-PSGalleryStats</command:name> <maml:description> <maml:para>CSV ファイルから記録済みのダウンロード統計を読み取ります。</maml:para> </maml:description> <command:verb>Get</command:verb> <command:noun>PSGalleryStats</command:noun> </command:details> <maml:description> <maml:para>`PSGalleryDownloads.csv` ファイルを読み取り、記録済みの統計をオブジェクトとして返します。 モジュール名や日付範囲によるフィルタリングが可能です。</maml:para> <maml:para>`-ModuleName` のタブ補完は、CSV ファイル内にあるモジュール名を候補として提示します。 CSV を Excel で開くには `Open-PSGalleryStats` を使用してください。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Get-PSGalleryStats</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>After</maml:name> <maml:description> <maml:para>この日時以降に記録された行のみを返します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Before</maml:name> <maml:description> <maml:para>この日時より前に記録された行のみを返します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>ModuleName</maml:name> <maml:description> <maml:para>結果を特定のモジュールでフィルタリングします。タブ補完は CSV ファイル内のモジュール名を候補として提示します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>After</maml:name> <maml:description> <maml:para>この日時以降に記録された行のみを返します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Before</maml:name> <maml:description> <maml:para>この日時より前に記録された行のみを返します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.DateTime</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>ModuleName</maml:name> <maml:description> <maml:para>結果を特定のモジュールでフィルタリングします。タブ補完は CSV ファイル内のモジュール名を候補として提示します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <dev:name>None</dev:name> </dev:type> <maml:description> <maml:para /> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <dev:name>PSCustomObject</dev:name> </dev:type> <maml:description> <maml:para>Date、ModuleName、LatestVersion、TotalDownloads プロパティを持つオブジェクト。 TotalDownloads は正しい数値ソートのため `[long]` として返されます。</maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>このコマンドを呼び出す前に CSV ファイルが存在している必要があります。 先に `Update-PSGalleryStats` を実行して作成してください。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: 記録済み統計をすべて表示する ---------</maml:title> <maml:introduction> <maml:para>```powershell Get-PSGalleryStats ```</maml:para> <maml:para>CSV ファイルからすべての行を返します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: モジュール名でフィルタリングする ---------</maml:title> <maml:introduction> <maml:para>```powershell Get-PSGalleryStats PowerShell.MCP ```</maml:para> <maml:para>PowerShell.MCP の行のみを返します。タブ補完が利用できます。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 3: 日付範囲でフィルタリングする ---------</maml:title> <maml:introduction> <maml:para>```powershell Get-PSGalleryStats -After '2026-03-01' -Before '2026-03-15' ```</maml:para> <maml:para>指定した日付範囲内に記録された行を返します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 4: モジュール名と日付フィルタを組み合わせる ---------</maml:title> <maml:introduction> <maml:para>```powershell Get-PSGalleryStats PowerShell.MCP -After '2026-03-01' ```</maml:para> <maml:para>指定日以降に記録された PowerShell.MCP の行を返します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command> <command:details> <command:name>Open-PSGalleryStats</command:name> <maml:description> <maml:para>ダウンロード統計の CSV ファイルを Excel で開きます。</maml:para> </maml:description> <command:verb>Open</command:verb> <command:noun>PSGalleryStats</command:noun> </command:details> <maml:description> <maml:para>`PSGalleryDownloads.csv` を `.csv` ファイルに関連付けられた既定のアプリケーション (通常は Excel) で開きます。記録済みデータからピボットテーブルやグラフを作成するために使用します。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Open-PSGalleryStats</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>Path</maml:name> <maml:description> <maml:para>CSV ファイルのパス。デフォルトは `$HOME\.PSGalleryTracker\PSGalleryDownloads.csv`。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>Path</maml:name> <maml:description> <maml:para>CSV ファイルのパス。デフォルトは `$HOME\.PSGalleryTracker\PSGalleryDownloads.csv`。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <dev:name>None</dev:name> </dev:type> <maml:description> <maml:para /> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <dev:name>None</dev:name> </dev:type> <maml:description> <maml:para /> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>このコマンドを実行する前に CSV ファイルが存在する必要があります。 まず `Update-PSGalleryStats` を実行して作成してください。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: 既定の CSV ファイルを開く ---------</maml:title> <maml:introduction> <maml:para>```powershell Open-PSGalleryStats ```</maml:para> <maml:para>`$HOME\.PSGalleryTracker\PSGalleryDownloads.csv` を Excel で開きます。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: カスタム CSV ファイルを開く ---------</maml:title> <maml:introduction> <maml:para>```powershell Open-PSGalleryStats -Path C:\Data\MyStats.csv ```</maml:para> <maml:para>指定した CSV ファイルを開きます。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command> <command:details> <command:name>Register-PSGalleryModule</command:name> <maml:description> <maml:para>PowerShell Gallery モジュールをダウンロード追跡対象として登録します。</maml:para> </maml:description> <command:verb>Register</command:verb> <command:noun>PSGalleryModule</command:noun> </command:details> <maml:description> <maml:para>`$HOME\.PSGalleryTracker\Modules.txt` に保存されている追跡リストに 1 つ以上のモジュールを追加します。 引数なしで呼び出すと、現在登録されているモジュールの一覧を表示します。</maml:para> <maml:para>モジュール名は PowerShell Gallery API を通じて正しい大文字・小文字に自動解決されます。 たとえば `powershell.mcp` は `PowerShell.MCP` として保存されます。</maml:para> <maml:para>ワイルドカードパターンがサポートされています。`Register-PSGalleryModule Speech.*` は、 インストール済みで PowerShell Gallery に公開されている `Speech.*` に一致するすべてのモジュールを登録します。</maml:para> <maml:para>タブ補完は、まだ登録されていないインストール済みモジュールを候補として提示します。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Register-PSGalleryModule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>コマンドレットの実行前に確認を求めます。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="true" pipelineInput="false" position="0" aliases="none"> <maml:name>ModuleName</maml:name> <maml:description> <maml:para>追跡対象として登録するモジュールの名前。ワイルドカードパターンを使用して複数モジュールを 一度に登録できます (例: `Speech.*`)。省略した場合、現在登録されているモジュールの一覧を表示します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>実際の操作を行わず、何が起こるかだけを報告するモードでコマンドを実行します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>コマンドレットの実行前に確認を求めます。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="true" pipelineInput="false" position="0" aliases="none"> <maml:name>ModuleName</maml:name> <maml:description> <maml:para>追跡対象として登録するモジュールの名前。ワイルドカードパターンを使用して複数モジュールを 一度に登録できます (例: `Speech.*`)。省略した場合、現在登録されているモジュールの一覧を表示します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>実際の操作を行わず、何が起こるかだけを報告するモードでコマンドを実行します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <dev:name>System.String</dev:name> </dev:type> <maml:description> <maml:para>モジュール名をパイプラインで渡すことができます。</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <dev:name>System.String</dev:name> </dev:type> <maml:description> <maml:para>引数なしで呼び出した場合、登録済みモジュール名の一覧を返します。</maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>追跡リストは `$HOME\.PSGalleryTracker\Modules.txt` に 1 行 1 モジュール名で保存されます。 モジュール名は登録時に PowerShell Gallery API を通じて正規の大文字・小文字に解決されます。 Gallery でモジュールが見つからない場合は、入力どおりに登録され警告が表示されます。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: 単一モジュールを登録する ---------</maml:title> <maml:introduction> <maml:para>```powershell Register-PSGalleryModule PowerShell.MCP ```</maml:para> <maml:para>PowerShell.MCP を追跡リストに追加します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: 複数モジュールを登録する ---------</maml:title> <maml:introduction> <maml:para>```powershell Register-PSGalleryModule PowerShell.MCP, QiitaDrive, ScreenRecorder ```</maml:para> <maml:para>3 つのモジュールを 1 つのコマンドで追跡リストに追加します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 3: ワイルドカードでモジュールを登録する ---------</maml:title> <maml:introduction> <maml:para>```powershell Register-PSGalleryModule Speech.* ```</maml:para> <maml:para>PowerShell Gallery に公開されている `Speech.*` に一致するインストール済みモジュールをすべて登録します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 4: -WhatIf で登録をプレビューする ---------</maml:title> <maml:introduction> <maml:para>```powershell Register-PSGalleryModule Speech.* -WhatIf ```</maml:para> <maml:para>追跡リストを実際に変更せずに、どのモジュールが登録されるかを表示します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 5: 登録済みモジュールを一覧表示する ---------</maml:title> <maml:introduction> <maml:para>```powershell Register-PSGalleryModule ```</maml:para> <maml:para>引数なしで呼び出すと、現在登録されているモジュールの一覧を表示します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command> <command:details> <command:name>Unregister-PSGalleryModule</command:name> <maml:description> <maml:para>ダウンロード追跡リストからモジュールを削除します。</maml:para> </maml:description> <command:verb>Unregister</command:verb> <command:noun>PSGalleryModule</command:noun> </command:details> <maml:description> <maml:para>`$HOME\.PSGalleryTracker\Modules.txt` に保存されている追跡リストから 1 つ以上のモジュールを削除します。 モジュール名の照合は大文字・小文字を区別しません。ワイルドカードパターンがサポートされています。</maml:para> <maml:para>タブ補完は、現在登録されているモジュール名を候補として提示します。</maml:para> <maml:para>既存の CSV データは削除されません。追跡リストのみが変更されるため、`Update-PSGalleryStats` は 登録解除されたモジュールの統計を取得しなくなります。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Unregister-PSGalleryModule</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>コマンドレットの実行前に確認を求めます。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="true" pipelineInput="false" position="0" aliases="none"> <maml:name>ModuleName</maml:name> <maml:description> <maml:para>追跡リストから削除するモジュールの名前。ワイルドカードパターンを使用できます (例: `Speech.*`)。大文字・小文字は区別されません。</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>実際の操作を行わず、何が起こるかだけを報告するモードでコマンドを実行します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>Confirm</maml:name> <maml:description> <maml:para>コマンドレットの実行前に確認を求めます。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> <command:parameter required="true" variableLength="false" globbing="true" pipelineInput="false" position="0" aliases="none"> <maml:name>ModuleName</maml:name> <maml:description> <maml:para>追跡リストから削除するモジュールの名前。ワイルドカードパターンを使用できます (例: `Speech.*`)。大文字・小文字は区別されません。</maml:para> </maml:description> <command:parameterValue required="true" variableLength="true">System.String[]</command:parameterValue> </command:parameter> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="Named" aliases="none"> <maml:name>WhatIf</maml:name> <maml:description> <maml:para>実際の操作を行わず、何が起こるかだけを報告するモードでコマンドを実行します。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.Management.Automation.SwitchParameter</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <dev:name>System.String</dev:name> </dev:type> <maml:description> <maml:para>モジュール名をパイプラインで渡すことができます。</maml:para> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <dev:name>None</dev:name> </dev:type> <maml:description> <maml:para>このコマンドレットは出力を生成しません。</maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>追跡リスト (`Modules.txt`) のみが変更されます。以前に記録された CSV データは保持されます。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: 単一モジュールを登録解除する ---------</maml:title> <maml:introduction> <maml:para>```powershell Unregister-PSGalleryModule Speech ```</maml:para> <maml:para>Speech を追跡リストから削除します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: ワイルドカードで複数モジュールを登録解除する ---------</maml:title> <maml:introduction> <maml:para>```powershell Unregister-PSGalleryModule Speech.* ```</maml:para> <maml:para>`Speech.*` に一致する登録済みモジュールをすべて削除します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 3: -WhatIf でプレビューする ---------</maml:title> <maml:introduction> <maml:para>```powershell Unregister-PSGalleryModule Speech.* -WhatIf ```</maml:para> <maml:para>追跡リストを変更せずに、どのモジュールが登録解除されるかを表示します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> <command:command> <command:details> <command:name>Update-PSGalleryStats</command:name> <maml:description> <maml:para>登録済みモジュールの最新ダウンロード統計を取得し、CSV ファイルに追記します。</maml:para> </maml:description> <command:verb>Update</command:verb> <command:noun>PSGalleryStats</command:noun> </command:details> <maml:description> <maml:para>追跡リスト内の各モジュールについて PowerShell Gallery API に問い合わせ、日付、モジュール名、 最新バージョン、合計ダウンロード数を含む行を `PSGalleryDownloads.csv` に追記します。</maml:para> <maml:para>これは日次追跡のメインコマンドです。手動またはタスクスケジューラで定期的に実行することで、 ダウンロード統計の時系列データを蓄積できます。CSV ファイルは BOM 付き UTF-8 で出力されるため、 Excel で文字化けなく直接開くことができます。</maml:para> <maml:para>各行のフォーマット: `Date,ModuleName,LatestVersion,TotalDownloads`。日付は UTC です。 新しいバージョンがリリースされると LatestVersion 列が変わるため、データ内でリリース日を 簡単に特定できます。</maml:para> </maml:description> <command:syntax> <command:syntaxItem> <maml:name>Update-PSGalleryStats</maml:name> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>Path</maml:name> <maml:description> <maml:para>CSV ファイルのパス。デフォルトは `$HOME\.PSGalleryTracker\PSGalleryDownloads.csv` です。 ファイルおよび親ディレクトリが存在しない場合は自動的に作成されます。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:syntaxItem> </command:syntax> <command:parameters> <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="0" aliases="none"> <maml:name>Path</maml:name> <maml:description> <maml:para>CSV ファイルのパス。デフォルトは `$HOME\.PSGalleryTracker\PSGalleryDownloads.csv` です。 ファイルおよび親ディレクトリが存在しない場合は自動的に作成されます。</maml:para> </maml:description> <command:parameterValue required="false" variableLength="true">System.String</command:parameterValue> </command:parameter> </command:parameters> <command:inputTypes> <command:inputType> <dev:type> <dev:name>None</dev:name> </dev:type> <maml:description> <maml:para /> </maml:description> </command:inputType> </command:inputTypes> <command:returnValues> <command:returnValue> <dev:type> <dev:name>PSCustomObject</dev:name> </dev:type> <maml:description> <maml:para>各モジュールについて、Date、ModuleName、LatestVersion、TotalDownloads プロパティを持つ オブジェクトを返します。この出力は `Format-Table` などのフォーマットコマンドにパイプできます。</maml:para> </maml:description> </command:returnValue> </command:returnValues> <maml:alertSet> <maml:alert> <maml:para>このコマンドを実行する前に、`Register-PSGalleryModule` でモジュールを登録しておく必要があります。 モジュール名は Gallery API のレスポンスから正規の大文字・小文字に解決されます。</maml:para> </maml:alert> </maml:alertSet> <command:examples> <command:example> <maml:title>--------- Example 1: 登録済みモジュールをすべて更新する ---------</maml:title> <maml:introduction> <maml:para>```powershell Update-PSGalleryStats ```</maml:para> <maml:para>登録済みモジュールの統計を取得し、デフォルトの CSV ファイルに追記します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 2: カスタム CSV ファイルに保存する ---------</maml:title> <maml:introduction> <maml:para>```powershell Update-PSGalleryStats -Path C:\Data\MyStats.csv ```</maml:para> <maml:para>デフォルトの場所ではなく、指定した CSV ファイルに統計を追記します。</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> <command:example> <maml:title>--------- Example 3: 典型的な日次ワークフロー ---------</maml:title> <maml:introduction> <maml:para>```powershell Register-PSGalleryModule PowerShell.MCP, QiitaDrive # one-time setup Update-PSGalleryStats # run daily Get-PSGalleryStats # review data Get-PSGalleryStats -Open # open in Excel ```</maml:para> </maml:introduction> <dev:code /> <dev:remarks /> </command:example> </command:examples> <command:relatedLinks> <maml:navigationLink> <maml:linkText>Online Version</maml:linkText> <command:uri /> </maml:navigationLink> </command:relatedLinks> </command:command> </helpItems> |