set-clipboardPowerShell command to set content to clipboard. Note:
scbcan be used as an alias forSet-Clipboard. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-clipboard.
Set-Clipboard -Value "{{text}}"
Set-Clipboard -Value @("{{text 1}}", "{{text 2}}", "{{text 3}}")
Set-Clipboard -Path "{{path\to\files_or_directories}}"
Set-Clipboard -Path "{{path\to\file1}}","{{path\to\file2}}","{{path\to\file3}}"
Set-Clipboard ""