Powershell-cmdlets-get-history
提供:Dev Guides
Powershell-Get-Historyコマンドレット
コマンドレット
*Get-History* コマンドレットは、現在のセッションで実行されているコマンドを取得するために使用されます。
これらの例では、Get-Historyコマンドレットが実行されています。
例
この例では、現在の履歴でコマンドを実行します。
> get-history
Id CommandLine
-- -----------
13 clear-history
14 get-history
15 dir
16 dir
17 dir
18 dir