Windows剪贴板历史 - 如何查看PowerShell的历史记录
目前,我正在尝试弄清楚如何在PowerShell中使用剪贴板历史记录。
我知道get -clipboard -command向您展示了剪贴板中的最后一项,但是如何访问其他25个?
使用Windows + V,您可以看到历史记录中存储的值,并且必须将这些值保存在RAM中的某个地方。最重要的是,保存在%localappData%\ Microsoft \ Windows \ Windows \ Windows \剪贴板中的文件中,在该文件中是一些十六进制文件,但是我无法确定这是否与我的搜索有关”。
(get-clipboard).COUNT仅显示1。
Currently I'm trying to figure out how to use Clipboard history in PowerShell.
I know that Get-Clipboard -command shows you the last item in Clipboard, but how to access those 25 others?
Using Windows + V you can see values stored in the history and it has to save those values somewhere in the RAM. On top of that there is file saved in %localappdata%\Microsoft\Windows\Clipboard named HistoryData and under that is some hex file, but I can't figure if that is somehow relevant for my search of if it's just another "Red herring".
(Get-Clipboard).count only shows 1.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用
Get-Help Get-Clipboard
查看命令的文档If you look at the documentation for the command using
Get-Help Get-Clipboard
you will see that it really does only show you the current entry - not a full history