Run PowerShell Natively on Linux and Docker!

Microsoft just made a huge splash today, by announcing that PowerShell is now available on Linux! I created a launch video that demonstrates how to get PowerShell Core running inside a Docker container! You can see the video over on Microsoft’s MSDN Channel 9. https://channel9.msdn.com/Shows/msftazure/Run-PowerShell-Natively-on-Linux-with-Docker Check if PowerShell is Running …

Continue reading

Change Allocation Method for Azure Network Interface

Update Azure Network Interfaces with PowerShell

Have you already provisioned a Microsoft Azure Virtual Machine, with a dynamic private IP address? Do you want to change that dynamically provisioned IP address to a static IP address? If so, you’re in luck! This process is relatively easy using the Microsoft Azure PowerShell module. Install PowerShell 5.0 First, …

Continue reading

Use PowerShell to Persist Environment Variables

Persistent Environment Variables PowerShell

In PowerShell, you can easily create environment variables using a few different methods. However, these are only scoped to the current PowerShell process, and not to any process running inside the user’s profile, or any process running on the system. Here are a few examples of methods that you can …

Continue reading

Merge AVHDX Hyper-V Checkpoints

Hyper-V Edit Disk - Merge Action

When you create a snapshot of a virtual machine in Microsoft Hyper-V, a new file is created with the .avhdx file extension. The name of the file begins with the name of its parent VHDX file, but it also has a GUID following that, uniquely representing that checkpoint (sometimes called …

Continue reading

A Story of PowerShell Quoting Rules

PowerShell Quoting Rules

This will be a fairly brief article that talks about single quotes vs. double quotes in the PowerShell automation language. Single Quotes In PowerShell, single quotes are commonly used to define string literals. If you want to include a single quote inside of a single-quoted string literal, then you simply …

Continue reading

Poll: Favorite PowerShell Editor

Do you have a favorite PowerShell editor experience? Vote this in this poll, and make your voice heard! We’re gathering people’s feedback to help better understand which tools are popular among the PowerShell developer community, and tailor content towards that crowd. Thanks!

Designing Command Line Tool User Experience

Linux Terminal Running Docker

Introduction Software developers, infrastructure & DevOps engineers, and operational IT staff are heavy users of the command line. The benefits of the command line are clear: Commands are / should be readable Commands are repeatable Commands can be shared amongst a team (eg. via source control / chat / etc.) …

Continue reading

Digital Ocean Droplet – Linux VPS Review

DigitalOcean-TeamManagement

I’ve been using the Digital Ocean Virtual Private Server (VPS) host on and off for a few months now, and I must say, they are incredibly easy to use! First of all, their web UI is simple, easy to use, and dare I say, enjoyable to use. They have one, and …

Continue reading

Find and Remove Package on Ubuntu Linux

I recently installed a couple packages that I didn’t need any longer on an Ubuntu Linux system. Most likely, you’ve installed packages using apt install or apt-get install. However, neither of these commands offer a command that lists out the packages that you’ve installed. To list out the installed packages, …

Continue reading