Write PowerShell Modules, not Scripts

When you think of PowerShell, is writing a PowerShell “script” one of the first things you think of? If so, I implore you to read on and think about the next time you write any PowerShell code. During the rest of this article, I’ll attempt to describe a gap I’ve …

Continue reading

Evernote Privacy Warning :: Disable Data Sharing

Evernote has recently come under fire for their new privacy policy that is intended to enable machine learning, with a goal of improving user experience. For some users, who aren’t storing critically sensitive data, this might not mean too much, but certain users have trade secrets that must be kept …

Continue reading

Add Voice to Your Node.js Application with Amazon Polly

This week has certainly been an exciting one, especially in the cloud IT market! Amazon Web Services (AWS) just recently announced a really cool, new service called Amazon Polly! AWS Polly is a speech synthesis (text-to-speech) service, aimed at software developers and architects, that enables you to generate speech from …

Continue reading

Error Messages Running Yum on RedHat 7.3

I’ve been using Ubuntu Server for a while now, on various Microsoft Azure or Amazon Web Services (AWS) EC2 instances, and the experience has been pretty awesome. I recently spun up a RedHat Enterprise Linux (RHEL) 7.3 instance on AWS EC2. RedHat 7.3 was just released about a week ago …

Continue reading

Use PowerShell to Copy Files over WMI

Scenario Recently, a question came up on StackOverflow, about PowerShell, where someone wanted the ability to copy a file to a remote system via Windows Management Instrumentation (WMI). The question went on to clarify that the individual did not want to have any dependency on SMB (Server Message Block) shares, …

Continue reading

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