MSPレガシーレポートコマンド
MSPレガシーレポートコマンド
KeeperサーバーからMSPレガシー向けライセンス調整ログを取得し、レポートとして表示します。あらかじめ定義された期間 (直近7日、先月など) とカスタム期間の両方に対応します。表形式の表示、CSVエクスポート、JSON出力、ファイルへの保存に対応します。
PowerCommander
コマンド: Get-KeeperMspLegacyReport
別名: msp-legacy-report
パラメーター:
-Range - あらかじめ定義された期間。指定可能な値: today、yesterday、last_7_days、last_30_days、month_to_date、last_month、year_to_date、last_year。-From と -To を指定した場合は無視されます。
-From - カスタム開始日 (YYYY-MM-dd 形式) または Unix タイムスタンプ (秒)。-To と併用が必須です。
-To - カスタム終了日 (YYYY-MM-dd 形式) または Unix タイムスタンプ (秒)。-From と併用が必須です。
-Format - 出力形式: table、json、または csv
-Output - レポートを書き出すファイルパス
例:
# Default: last 30 days, table format
PS > Get-KeeperMspLegacyReport
# Using alias
PS > msp-legacy-report
# Predefined range
PS > Get-KeeperMspLegacyReport -Range last_7_days
# Custom date range
PS > Get-KeeperMspLegacyReport -From "2025-01-01" -To "2025-06-30"
# Export as CSV to a file
PS > Get-KeeperMspLegacyReport -Range last_month -Format csv -Output "legacy_report.csv"
# Export as JSON to console
PS > Get-KeeperMspLegacyReport -Range year_to_date -Format json最終更新

