1. Troels Damgaard
  2. PSH scripts

Overview

Repo for various minor Powershell scripts

Out-Clip

Copies files to the Windows clipboard. The best replacement for Clippy!

  • Given files from the pipeline or as a parameter, copies one or more files to the Windows clipboard.
  • Use -Verbose to echo files copied.

Examples

Pipe output from Get-ChildItem (dir) into Out-Clip:

gci *somepattern* | Out-Clip

Use with one file (and verbose flag):

Out-Clip somefile -verbose