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.
-
Clone the repo
-
Open the
auto-parsec.ps1
file and edit the file to your liking or use one of the already made examples -
Run it with PowerShell 5.1 or newer (right click -> Run with PowerShell)
-
(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 writepowershell
in theProgram/script
field and-WindowsStyle hidden <path-to-your-script.ps1>
in theAdd arguments
box.
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