Implement cmdlets to get data in and out of the windows clipboard
Votes from Connect: 21
Original Date Submitted: 3/16/2011 10:04:49 PM
Handle: Justin Dearing zippy1981
Site Name: PowerShell
Feedback ID: 651777
Frequency: Always Happens
Regression: Yes, this happens in all previous versions
I'd like to be able to pipeline data in and out of the windows clipboard with powershell.
In addition, I would like a PSDrive representing the clipboard. This would be useful for integrating the clipboard with existing cmdlets that output to a file. For example, I could use such a PS Drive to write a csv to the clipboard with the Export-CSV cmdlet.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 651777 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=651777).
Internal BugId: 2843
Derp McDerp commented
It would be useful if PowerShell added a smart "clip" dual alias like:
so we can do:
foo | clip
# foo | Set-Clipboard
clip | foo
# Get-Clipboard | foo