Piping PowerShell Output to the Clipboard

It’s definitely beneficial to attend technology events so you can talk to other IT Pro’s. This past weekend I presented a session at PowerShell Saturday in Atlanta and while at the speaker dinner I made a comment about a new version of the PowerShell Community Extensions being released.

The only cmdlet that’s part of that module that I use all of the time is Out-Clipboard which allows you to paste the output of a PowerShell command into notepad, Word, an email, etc:

![out-clipboard1.png" height=“229](/images/2012/10/out-clipboard1.png” height=“229)

Brian Wilhite, another PowerShell enthusiast and speaker gave me a great tip: “You don’t need the Out-Clipboard cmdlet to pipe to the clipboard, just pipe your output to clip.exe”:

![out-clipboard2.png” height=“248](/images/2012/10/out-clipboard2.png” height=“248)

I even demonstrated this tip during my session. Brian, thanks again for that awesome tip.

µ