0
点赞
收藏
分享

微信扫一扫

powershell_clipboardManagement(剪切板操作)


文章目录

  • ​​reference link​​
  • ​​直接复制文本文件中的内容内容到剪切板​​
  • ​​体验情况​​

reference link

  • Get-Clipboard (Microsoft.PowerShell.Management) - PowerShell | Microsoft Docs
  • ​​Set-Clipboard (Microsoft.PowerShell.Management) - PowerShell | Microsoft Docs​​​ 本地查看剪切板相关功能的命令:
    powershell_clipboardManagement(剪切板操作)_文本文件
    别名分别为:
  • get-clipboard->​​gcb​
  • set- clipboard->​​scb​

直接复制文本文件中的内容内容到剪切板

powershell_clipboardManagement(剪切板操作)_microsoft_02

体验情况

目前对于powershell 7+ 版,剪切板功能还是比较有限的(基本是针对文本,而不宜对二进制对象进行操作)
对于powershell5.+版本,提供了​​​-format​​ 等参数,可以有更多操作


举报

相关推荐

0 条评论