PowerShell history(履歴)を確認する

PowerShell history(履歴)を確認する

PowerShellでistory(履歴)を確認する手順を掲載してます。

環境

  • OS windows10 pro
  • PowerShell 5.1.18362.1171

history(履歴)を確認

powershellで実行したコマンドのhistory(履歴)は、以下のコマンドで確認することが可能です。

get-history

<出力結果>
  Id CommandLine
  -- -----------
   1 cd /
   2 dir