# PowerSession
> **Record a Session in PowerShell.**
[](https://crates.io/crates/PowerSession)
[](https://crates.io/crates/PowerSession)
[](./LICENSE)
[](https://github.com/Watfaq/PowerSession/actions/workflows/ci.yml?query=branch%3Amain)
[](https://github.com/Watfaq/PowerSession/graphs/contributors)
PowerShell version of [asciinema](https://github.com/asciinema/asciinema) based on [Windows Pseudo Console(ConPTY)](https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/)
*This is a new Rust implemented version.*
*if you are looking for the C# implementation, please go to [the old version](https://github.com/Watfaq/PowerSession/tree/csharp)*
## Checkout A Demo
[](https://asciinema.org/a/272866)
## Installation
```console
cargo install PowerSession
```
## Usage
### Get Help
```console
PS D:\projects\PowerSession> PowerSession.exe -h
PowerSession
USAGE:
PowerSession.exe [SUBCOMMAND]
OPTIONS:
-h, --help Print help information
SUBCOMMANDS:
rec Record and save a session
play
auth Authentication with asciinema.org
upload Upload a session to ascinema.org
help Print this message or the help of the given subcommand(s)
```
## Credits
- [windows-rs](https://github.com/microsoft/windows-rs)
## Supporters
- [GitBook](https://www.gitbook.com/) Community License