Creating a Github Gist with PowerShell

Recently I posted a PowerShell tool for creating a GitHub repository. In continuing my exploration of the GitHub API I wrote another PowerShell tool to create a GitHub gist. A gist is simple way to store and share snippets or code samples. I use them to share simple PowerShell scripts or other works that aren’t full blown multi-file modules. Now I can create these gists directly from PowerShell and the PowerShell ISE.

Continue reading “Creating a Github Gist with PowerShell”

Ideas and Inspiration

brainideaI received an email the other day from someone who is looking to expand their professional identity and brand. Of course one way to accomplish that is by writing and publishing or sharing your work with others. But this begs the natural question, “How do you know what to write about?” Or as I have often been asked, “Where do you get your ideas?” Since my email pal put these questions to me I thought I’d take a few minutes today to share my thoughts (see what I’m doing?). Continue reading “Ideas and Inspiration”

Storing PowerShell Credentials in JSON

Sometimes I do things in PowerShell just to see what happens. This is a great way to learn about new cmdlets and techniques. Sometimes these experiments lead to useful results. Other times they may end up as teaching devices. Of  course the result could serve both purposes and you may have to decide that today as I look at storing credentials in a JSON file.

Continue reading “Storing PowerShell Credentials in JSON”

Creating a GitHub Repository from PowerShell

I’ve been continuing to work with the GitHub API in PowerShell. Today I have a function you can use to create a new GitHub repository. Of course you will need to have a GitHub account and another piece of critical information, but after that it is quite easy to create new repositories. This makes it easier for you to automate provisioning new projects, which is something else I’m working on. But for now, let’s create some repos!

Continue reading “Creating a GitHub Repository from PowerShell”

PowerShell 6.0 Release Tools

As you should be aware, the next version of PowerShell is open source and cross-platform. You will be able to run PowerShell v6 on Windows, a Mac and select Linux distributions. All of the code is currently in alpha and hosted on the PowerShell GitHub repository. This is also where you can download new builds to install and test. I’ll admit I’m a little behind the curve and part of that is because I don’t often check if there is a new release. So I built a PowerShell module that will do that for me, and even download new installation packages. The best part, is that this should work cross-platform.

Continue reading “PowerShell 6.0 Release Tools”