Username is optional. If you don’t provide it your gist will be public and anonymous. If you do, you’ll be prompted for your password. This is different than Gister where I only prompt once and cache the creds. Here you’ll have to specify the password each time. Deal with it or fix it.

Here’s an example:

Notice how after the gist is created the Url is written to the console/host? Well PsGist also puts the Url into your clipboard. So you can quickly go to IRC, IM, Twitter, etc and past the Url. Or you can use ALT+<Space>, E, P to paste it quickly into your console and open the gist.

Needed: Pipe the output

I’d like to be able to pipe the output to start, clip, out-file and other useful commands. For whatever reason powershell won’t wait on the gist being created before running the following command. If you know how to make this happen, hit me up on Twitter, send a pull request or leave it in the comments.

Needed: Multiple File Gists

I’d like to be able to run ls | gistand have all the files in the listing sent to a single gist, but there is a problem with convertfrom-json that I’m struggling with. I have a branch called pipelinesupport that you can try, but it takes single file gists away until I put that back and fix the json issue.

Needed: Make it a Module

This should really be a module. I’m sure with another hour’s worth of research and effort I could make that happen, but, well, it works. If you like PsGist and want to make it a Module, I’ll gladly accept the pull request.