Tag Archives: PowerShell

Microsoft MVP Once Again

MVP-Logo-smallI never take these things for granted and try very hard throughout the year to provide service to the community. So I’m very happy to share the news that I have been renewed for my 10th year as a Microsoft MVP. My official community is Cloud and Datacenter Management, but I think deep down I’ll always be a PowerShell MVP.

I honestly enjoy the work I do and hope that you find it worthwhile. I will be continuing to contribute to the community through this blog, my articles at Petri.com, my courses for Pluralsight as well as conferences and user group presentations. I look forward to the next year. With the upcoming release of Windows Server 2016 there will be many opportunities. I hope you’ll stick around.

Thank you.

Compare PowerShell Modules

One of the attractive features in PowerShell v5 is PowerShellGet. This module includes commands which makes it easy to discover and install PowerShell modules from the Internet, or even your network. The modules are stored in online repositories. Microsoft maintains one called PSGallery. Typically you will use PowerShell commands to find and install modules. As a quick side note, while Microsoft appears to do some degree of review using the PowerShell Script Analyzer, there is no guarantee that modules you find online will work in your environment. That’s why the repository is untrusted by default. You can still download and install but you are accepting the potential risks. But that’s not the point here. It is pretty easy to download new modules, which includes DSC resources. However, new versions can be published to the online repository. As far as I know there is no notification mechanism. So you might have to periodically check to see if there are new versions available. Which means I wrote a tool.

Continue reading Compare PowerShell Modules

Downloading Git Tips with PowerShell

So I’ve been sharing a number of PowerShell tools I’ve created for working with Git, including a few for getting tips from the Git Tips project on GitHub. My initial work was based on the fact that I had a local clone of that repository and wanted to search the local tips.json file. But I realized some of you may not want to clone the repository or be able to keep it up to date. Since the json file is available online and PowerShell has tools for grabbing Internet content, I decided to provide a version that combines the functionality of my earlier commands with the ease of searching online.

Continue reading Downloading Git Tips with PowerShell

Friday Fun: Find a Git Tip with PowerShell

Recently I published a PowerShell function that I use to display a random Git Tip of the Day. The function relies on my clone of the Git-Tips project on GitHub. I’ve been keeping tabs on this project and a question was posed about creating a command line utility to search the tip list. Now, this project is most likely aimed at developers, at least based on what I’ve seen in the list of questions and issues. But for PowerShell people, this is a pretty simple thing to pull together.

Continue reading Friday Fun: Find a Git Tip with PowerShell

Creating Git Commit Messages with PowerShell

As part of my process of learning an using Git I am trying to get in the habit of using meaningful commit messages. Sure, you can get by with a single line comment which is fine when running git log –oneline. But you can use a multi-line commit message. However, this requires a little planning which is probably not a bad thing. BecauseĀ  my Git projects are PowerShell related and I most often and in the PowerShell ISE I came up with a little trick that works for me.

Continue reading Creating Git Commit Messages with PowerShell