Share this post: This is part of an ongoing blog series by Adam Gordon. Adam will show you how to use each PowerShell command each week. Adam will be covering Get-Clipboard this week.
When should you use Get-Clipboard
The Get-Clipboard cmdlet returns the contents of the clipboard in text. Multiple lines of text will be returned as an array of strings, similar to Get-Content.
Note: This cmdlet on Linux requires that the xclip utility be present in the path
What version of PowerShell do I use?
Get the PowerShell Version for your machine
This command displays the PowerShell version information for your machine.
How to use Get Clipboard
Display the contents of the clipboard to the command-line.
Learn the command last week: New-FileCatalog
Do you need PowerShell training? ITProTV offers PowerShell online IT training courses.