Categories
PowerShell

Pipe output to clipboard

You can use the command line program clip to pipe the output of a command to your clipboard.

Write-Output "Hello World!" | clip

Leave a Reply

Your email address will not be published. Required fields are marked *