Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Send Output to Clipboard with PowerShell

$
0
0

Summary: Use Windows PowerShell to easily send output to the clipboard.

Hey, Scripting Guy! Question How can I easily capture output from the Windows PowerShell console and send it to the Windows Clipboard
          so I can paste it into another program?

Hey, Scripting Guy! Answer The standard Windows utility clip.exe accepts pipeline output, for example:

Get-EventLog application -Newest 1 | clip


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>