Skip to content

Watfaq/PowerSession

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7d88e4a · Jun 3, 2022
Jun 3, 2022
Jun 3, 2022
Feb 17, 2022
Feb 17, 2022
May 18, 2022
Sep 26, 2019
Nov 18, 2021
Jun 3, 2022
Nov 18, 2021
Dec 16, 2020
Jun 3, 2022

Repository files navigation

PowerSession

Record a Session in PowerShell.

‼️ DEPRECATED Checkout the brand new Rust implementation: https://github.com/Watfaq/PowerSession-rs ‼️

PowerShell version of asciinema based on Windows Pseudo Console(ConPTY)

Checkout A Demo

asciicast

Compatibilities

  • The output is comptible with asciinema v2 standard and can be played by ascinnema.
  • The auth and upload functionalities are agains asciinema.org.

Installation

using dotnet tool

> dotnet tool install --global PowerSession

Using Scoop

> scoop install PowerSession

Manual Download

Download PowerSession.exe at Release Page https://github.com/ibigbug/PowerSession/releases

Usage

Record

$ PowerSession.Cli.exe rec a.txt

Play

$ PowerSession.Cli.exe play a.txt

Auth

$ PowerSession.Cli.exe auth

Upload

$ PowerSession.Cli.exe upload a.txt

Get Help

$ PowerSession.exe rec -h

rec:
  Record and save a session

Usage:
  PowerSession rec [options] <file>

Arguments:
  <file>    The filename to save the record

Options:
  -c, --command <command>    The command to record, default to be powershell.exe

Supporters