Windows Clipboard

Read from and write to the Windows clipboard using PowerShell. Use when this capability is needed.

tomevault-io Updated

File contents

Windows 剪贴板

使用 PowerShell 操作 Windows 剪贴板。

命令参考

读取剪贴板

Get-Clipboard

写入剪贴板

Set-Clipboard -Value "要复制的内容"

从文件复制到剪贴板

Get-Content "C:\path\to\file.txt" | Set-Clipboard

输出规范

  • 读取后展示内容(长文本截断前 500 字符)
  • 写入后确认「已复制到剪贴板」

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/malue-ai--dazee-small--windows-clipboard commit 67295eb9a5

Frequently asked questions

npx skillmds@latest add tomevault-io/windows-clipboard