Archive note: originally published July 4, 2018, and kept for the record. PowerClip is not maintained, and Windows has shipped its own clipboard history (Win+V) since late 2018.

Security note: PowerClip recorded every copied text value in a local cache, including passwords, tokens, or other sensitive text. Treat that cache as confidential and clear it when necessary.

PowerClip saves clipboard text and lets you restore an earlier clip.

PowerClip consists of:

  • powerclipd — constantly running monitor executed on logon
  • powerclip — shows your current cache, replaces clipboard with selection

To install, use one of the -install scripts provided. To remove, use one of the -remove scripts provided.

To use powerclip to show my cache, I have an alias in my profile. Like this:

Set-Alias -Name pc -Value 'D:\PowerClip\powerclip.ps1'

You could do the same with a batch file or shortcut on your desktop.

PowerClip on GitHub

Learning PowerShell?

This script provides real-world example usage of the following:

  • clipboard manipulation
  • running PowerShell in the background
  • running PowerShell script at startup
  • working with JSON data

Two months after this I published Find-InFiles to the PowerShell Gallery, which is the same impulse with a better distribution story. The longer arc - from PowerShell scripts to a template and a fleet - is in Back to Programming.