/auto-parsec

Simple PowerShell scripts to automate stuff on Parsec connections

Primary LanguagePowerShellMIT LicenseMIT

auto-parsec

Powershell 5.1 

A simple PowerShell script intended to be used with Parsec to automate stuff on the host computer when a client connects to it.

It can be used to start a game, launch a program, automatically accept connection requests or anything else you can think of.

WARNING:

Due to recent changes in Parsec the script may not work anymore

(I'll fix it when I have some free time)

Usage:

  1. Clone the repo

  2. Open the auto-parsec.ps1 file and edit the file to your liking or use one of the already made examples

  3. Run it with PowerShell 5.1 or newer (right click -> Run with PowerShell)

  4. (Optional) You can automatically run the script in the background using Task Scheduler:
    create a new Task, give it a name, set a trigger and then when adding an action be sure to write powershell in the Program/script field and -WindowsStyle hidden <path-to-your-script.ps1> in the Add arguments box.

Contributing:

I've implemented a few scripts that I use myself, but feel free to make your own and create a pull request to add them to the repository.

Ideally they're all going to have one or more modules and a working example.ps1 script