You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Windows 10系统下如何使用PowerShell清除剪贴板历史?

在Windows 10中使用PowerShell清除剪贴板历史记录的方法

方法1:一键清除全部剪贴板历史(推荐)

适用于Windows 10 1809及以上版本(默认PowerShell已支持该命令),打开PowerShell后直接执行以下命令:

Clear-Clipboard -ClearHistory

该命令会同时清空当前剪贴板内容,并删除所有已保存的剪贴板历史条目。

方法2:兼容旧版PowerShell的清除方式

如果你的PowerShell版本不支持-ClearHistory参数,可通过遍历历史条目逐个删除:

Get-Clipboard -Format ClipboardHistory | ForEach-Object { Remove-ClipboardItem $_ }

验证清除效果

按下Win + V打开剪贴板历史面板,确认所有历史条目已清空;或在PowerShell中执行Get-Clipboard -Format ClipboardHistory,无返回内容则表示清除成功。

内容的提问来源于stack exchange,提问作者Danny Coleiro

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 00:05:55