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

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

Hyper-V SecureBoot Error

I recently was trying to install Ubuntu Desktop 16 under a Hyper-V VM on Windows 10. Naturally, I downloaded the ISO image for the operating system, mounted it to a new Generation 2 Virtual Machine, and then proceeded to boot the VM. Unfortunately the VM was unable to boot to …

Continue reading

Select Unique Lines in Bash on Linux

If you have a file with repeated lines, and you want to remove duplicate lines, you can use the uniq command. The description of this utility, from its man page is simply: “report or omit repeated lines.” Consider the following example: trevor@MyUbuntuVM:~$ echo “this is is great” | uniq The output …

Continue reading

Azure Functions Error Message

Microsoft Azure recently introduced a new feature called Azure Functions. This service is, in some ways, very similar to the Amazon Web Services (AWS) Lambda service. Both services enable software developers to create scalable microservices using a Platform-as-a-Service (PaaS) model. In Microsoft Azure, the Functions feature is actually a component …

Continue reading

ncdu: Identify Large Files on Windows 10

If you’re looking for a solution to find large files (high disk utilization) on Windows 10, you’re in luck! In fact, you can even do this from the Ubuntu on Windows Bash console. There’s a tool called ncdu, which is short for nCurses du. “du” refers to the “disk utilization” tool …

Continue reading

Unicode Emojis in PowerShell!

Check out this post over at Art of Shell that talks about supporting emojis in PowerShell! The post starts out … We all use emojis, to some extent, on a daily basis. We write smiley faces in text messages, e-mails, on Twitter, on Facebook, and other social media platforms. These …

Continue reading