get-clipboard
A PowerShell command to get content from clipboard. tldr-pages
On Windows
Windows
A PowerShell command to get content from clipboard. Note: gcb can be used as an alias for Get-Clipboard.
Get clipboard text
Get-ClipboardIdentifyTrips 1 Sigma rule: mediumPowerShell Get-Clipboard Cmdlet Via CLI by Nasreddine Bencherchali (Nextron Systems)
Get clipboard content as specific text format
Get-Clipboard -TextFormatType TextIdentifyTrips 1 Sigma rule: mediumPowerShell Get-Clipboard Cmdlet Via CLI by Nasreddine Bencherchali (Nextron Systems)
Get raw clipboard content
Get-Clipboard -RawIdentifyTrips 1 Sigma rule: mediumPowerShell Get-Clipboard Cmdlet Via CLI by Nasreddine Bencherchali (Nextron Systems)
Retrieve an Image
Get-Clipboard -Format ImageIdentifyTrips 1 Sigma rule: mediumPowerShell Get-Clipboard Cmdlet Via CLI by Nasreddine Bencherchali (Nextron Systems)
Get file paths copied in explorer
Get-Clipboard -Format FileDropListIdentifyTrips 1 Sigma rule: mediumPowerShell Get-Clipboard Cmdlet Via CLI by Nasreddine Bencherchali (Nextron Systems)