Tag Archives: Clipboard

New article on PowerShell Magazine: Save untitled tabs in PowerShell ISE to clipboard

When I am working in the PowerShell ISE I often have many open untitled tabs open. In order to bring some order to the chaos I wrote a small function to save all untitled tabs to the clipboard so I could paste it somewhere else. The full article  is available on PowerShell Magazine : Save untitled tabs in PowerShell ISE to clipboard

After posting this tip, I noticed that Richard Diphoorn posted a nice addition to this tip on his blog. He uses the Send-MailMessage cmdlet to send the untitled tabs by email, to OneNote for example. His post is available here: Send Unsaved Untitled PowerShell ISE tabs to E-Mail

For more articles like this, have a look at the External Articles section of my blog, it contains all the articles I have posted on external sources such as PowerShell Magazine.

Links in this Article
PSTip: Save untitled tabs in PowerShell ISE to clipboard
PowerShell Magazine
External Articles
Quantica: Send Unsaved Untitled PowerShell ISE tabs to E-Mail
Share

QuickTip: Copy output to clipboard using clip.exe

Sometimes the contents of a certain variable or output of a script is quickly needed elsewhere, this is where the clipboard can be very useful. Since PowerShell supports pipelining to external tools as well as native cmdlets it is quite simple to output something to the clipboard, the following example will put the output of Get-Process on your clipboard:

Get-Process | clip.exe

Do you have any useful applications for this neat little trick, be sure to post them in the comment section.

Share