Cmdlet
Get-History cmdlet用于获取在当前会话中运行的命令。
示例
在本例中,我们将获取在当前历史中运行的命令。
> get-history Id CommandLine -- ----------- 13 clear-history 14 get-history 15 dir 16 dir 17 dir 18 dir
日期:2019-08-20 13:51:10 来源:oir作者:oir
Get-History cmdlet用于获取在当前会话中运行的命令。
在本例中,我们将获取在当前历史中运行的命令。
> get-history Id CommandLine -- ----------- 13 clear-history 14 get-history 15 dir 16 dir 17 dir 18 dir