Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions pages/windows/gcb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# gcb

> This command is an alias of `get-clipboard`.

- View documentation for the original command:

`tldr get-clipboard`
24 changes: 24 additions & 0 deletions pages/windows/get-clipboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Get-Clipboard

> A powershell command to get content from clipboard.
> More information: <https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-clipboard>.

- Get clipboard text:

`Get-Clipboard`

- Get clipboard content as specific text format:

`Get-Clipboard -TextFormatType {{Text|Html|Rtf}}`

- Get raw clipboard content:

`Get-Clipboard -Raw`

- Retrieve an Image:

`Get-Clipboard -Format Image`

- Get file paths copied in explorer:

`Get-Clipboard -Format FileDropList`
Loading