rhymeswithmogul / Termbin4PS

Native Termbin support for PowerShell and Windows PowerShell.

Home Page:https://powershellgallery.com/packages/Termbin4PS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Termbin4PS

Codacy Badge PowerShell Gallery Version (including pre-releases) PowerShell Gallery

Native Termbin support for PowerShell!

Example

To send a log file to Termbin, simply pipe the raw content to Out-Termbin:

PS C:\> Get-Content -Raw 'logfile.txt' | Out-Termbin
https://termbin.com/1a2b

Note that you need to use Get-Content -Raw so that line endings are not stripped.

Another Example

To send a process list to Termbin, simply pipe your command through Out-String on its way to Out-Termbin:

PS C:\> Get-Process | Out-String | Out-Termbin

In most cases, you will need to pass your output through PowerShell's Out-String so that PowerShell will convert the native .NET objects into simple strings.

About

Native Termbin support for PowerShell and Windows PowerShell.

https://powershellgallery.com/packages/Termbin4PS/

License:GNU Affero General Public License v3.0


Languages

Language:PowerShell 100.0%