Clipboard functions PowerShell Module
PowerShell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PSClip.psd1
PSClip.psm1
README.md

README.md

PSClip

NOTE: Latest PowerShell versions already have Clipboard functionalities out of the box: Get-Clipboard and Set-Clipboard Cmdlets, gcb and scb aliases.

So, I would recommended everyone updating PowerShell rather them using PSClip.

PowerShell module for clipboard manipulation. It provides two functions:

  • Set-ClipboardText: Sets clipboard content with provided text, which can be passed as parameter, or read from pipeline
  • Get-ClipboardText: Returns clipboard content;

This module also provides two aliases:

  • scb: alias to Set-ClipboardText
  • gcb: alias to Get-ClipboardText

Installing

Windows 10 users:

Install-Module PSClip -Scope CurrentUser

Otherwise, if you have PsGet installed:

Install-Module PSClip

Or you can install it manually coping PSClip.psm1 to your modules folder (e.g. $Env:USERPROFILE\Documents\WindowsPowerShell\Modules\PSClip\)