mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-16 02:49:10 +01:00
Updated list-clipboard.ps1
This commit is contained in:
parent
af3c58a541
commit
d4c5c03433
@ -13,7 +13,8 @@
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
"📋 $(get-clipboard)"
|
[string]$text = (Get-Clipboard)
|
||||||
|
Write-Output "📋 `“ $text `„"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user