Windows剪贴板历史 - 如何查看PowerShell的历史记录

发布于 2025-01-25 14:54:28 字数 295 浏览 5 评论 0原文

目前,我正在尝试弄清楚如何在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

物价感观 2025-02-01 14:54:28

如果您使用Get-Help Get-Clipboard查看命令的文档

NAME
    Get-Clipboard

SYNOPSIS
    Gets the current Windows clipboard entry.

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

NAME
    Get-Clipboard

SYNOPSIS
    Gets the current Windows clipboard entry.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文