mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 01:02:08 +00:00
Update cheatsheets
This commit is contained in:
12
tldr/windows/gcb
Normal file
12
tldr/windows/gcb
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# gcb
|
||||
|
||||
> This command is an alias of `Get-Clipboard`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr get-clipboard`
|
||||
30
tldr/windows/get-clipboard
Normal file
30
tldr/windows/get-clipboard
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Get-Clipboard
|
||||
|
||||
> A powershell command to get content from clipboard.
|
||||
> Note: `gcb` can be used as an alias for `Get-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`
|
||||
Reference in New Issue
Block a user