How to Configure OpenSSH on Windows for PowerShell Remoting Over SSH

This article is meant to bridge the gap between my video on How to Set Up OpenSSH on Windows and Ethan Bell’s How to Use PowerShell Remoting Over SSH. After installing OpenSSH on Windows, there are a few settings that need to be configured on the client as well as the remote SSH server in order to allow PowerShell Remoting over SSH.

If you try to create a new PSSession over SSH after installing OpenSSH, you may see the following error:

First, we need to make sure that the path to the ssh.exe executable is in the PATH environment variable on the computer that you will be using to connect to a remote SSH server. To do this, click on the Start button and search for advanced system settings then click on View Advanced System Settings.

Continue reading “How to Configure OpenSSH on Windows for PowerShell Remoting Over SSH”

How I Learned Pester by Building a Domain Controller Infrastructure Test

“What is simple, is understood. What is understood, is executed.” -Anonymous

Let me start by saying that Pester for the longest time was very intimidating to me early in my PowerShell journey. I’m still wondering what exactly it was that made me think that way. Was it being too busy just trying to learn what I needed for that moment, or was it that I didn’t see how I could implement it into my suite of scripts? I don’t have any good answers.

The Scenario

I’m a Sysadmin by trade and recently had experienced some system issues after performing some typical routine maintenance. Some of this work I had scripted by referencing the original checklists provided to me when I first started doing this work. This particular cycle, the checklist wasn’t enough.

Continue reading “How I Learned Pester by Building a Domain Controller Infrastructure Test”

How to Run PowerShell Code by Invoking a Webhook in Azure Automation

Back in my day, we could only run PowerShell scripts on local Windows computers. Nowadays though. it’s amazing all of the different ways to execute PowerShell scripts. We not only have PowerShell on Linux but Azure Cloud Shell too! Azure Cloud Shell is an awesome way to quickly bring up a PowerShell environment to execute code in the cloud. Speaking of Azure, we’ve also got Azure Automation runbooks. Using PowerShell Azure Automation runbooks are another great way to get stuff done with PowerShell.

Whenever I build a PowerShell Azure Automation runbook, the trigger for the runbook has always been on a schedule or invoked via another runbook. However recently, I needed the ability to invoke it outside of Azure completely via a service we use here at TechSnips called Zapier.

Continue reading “How to Run PowerShell Code by Invoking a Webhook in Azure Automation”

Creating Starter Group Policy Objects for Quick Policy Baselines

If you are lucky to build a complete Active Directory infrastructure from scratch, then you know how much planning and consideration goes into the whole process. And it doesn’t just stop with delivering the environment. You have to also consider ongoing management of the environment.

That’s why you should consider using Starter Group Policy objects.

Starter Group Policy object is just a blank, or clean slate if you will, Group Policy Object. The purpose of these objects is to allow an administrator to create and have a pre-configured group of settings that represent a baseline for any future policy that is to be created. These settings can then be copied into a more formal Group Policy Object that is then applied to single or multiple organizational units (OU’s for short). Copying these starter objects preserves your baseline strategy and allows you to dynamically add or remove settings that shouldn’t be applied to future objects.

Continue reading “Creating Starter Group Policy Objects for Quick Policy Baselines”

Introducing the TechSnips Paid Blog Post Program

TechSnips started as a video-only platform and continues to grow every week. However, we realize that not everyone prefers to learn new material via screencasts. This is why we are introducing the paid blog post program. The paid blog post program is a feature of TechSnips that allows approved contributors to supplement their screencast submissions with a blog post and get paid for it!

Continue reading “Introducing the TechSnips Paid Blog Post Program”

Introducing our VP of Content

Building a startup is a ton of work. When I first started, I thought I could do everything myself. Boy, was I wrong! Building a business from the ground up is like changing a light bulb. There is so much to do that I never even considered.
In this business, content is king. At TechSnips, we have to publish as many videos as possible as often as possible. Content is the most important part of our business. This is why I’ve decided to bring on someone to help.

Continue reading “Introducing our VP of Content”