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