简体   繁体   中英

Enable Windows command line history

I understand that the Windows Command Line tool does not store the input history issued by the user. Is there a way to automatically enable this, to allow post-mortem examination of the commands issued?

Otherwise, is there an alternative to investigate what commands a particular system admin has performed in command line?

The applicable OS are Windows 7, and all versions of Windows Servers

I believe by default windows cmd doesn't support this. So the direct answer to your question is that its just impossible.

However you can achive the effect you're asking for by using PowerShell. Look here Disclamer, I didn't use it by myself :)

在命令提示符下按F7

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM