Created
January 27, 2020 13:12
-
-
Save joswr1ght/f50ea0c6f331b28e227adb820efb5c4f to your computer and use it in GitHub Desktop.
Copy Clipboard Data from PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$x=""; while($true) { $y=get-clipboard -raw; if ($x -ne $y) { Write-Host $y; $x=$y } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment