Are you on Mac OS and need to keep your AWS PowerShell module up-to-date? As you’ve probably noticed, there are frequently new versions of the AWS PowerShell module being released, to keep pace with new services and service features being added to Amazon Web Services (AWS) cloud. Updating PowerShell modules manually can take up extra … Read moreKeep AWS PowerShell Module Updated on Mac OS
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, and that they specifically wanted … Read moreUse PowerShell to Copy Files over WMI
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 in a Docker Container If … Read moreRun PowerShell Natively on Linux and Docker!
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, make sure you’re running PowerShell … Read moreChange Allocation Method for Azure Network Interface
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 use to set environment variables … Read moreUse PowerShell to Persist Environment Variables
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 put two single quotes next … Read moreA Story of PowerShell Quoting Rules
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 emojis are defined in the … Read moreUnicode Emojis in PowerShell!
The Azure PowerShell Extensions module (AzureExt) for Windows PowerShell has seen another interesting update! Let’s take a look at some of the high-level changes: External dependencies have been completely removed The module now supports PowerShell ISE Snippets for Azure Resource Manager (ARM) Resources New command: Remove-AzureRmResourceGroupGui New command: Start-AzureRM Check out Art of Shell’s Microsoft … Read moreAzure PowerShell Extensions Updates
I recently tried publishing a very small, simple PowerShell module to the PowerShell Gallery. I ran into a few errors that were rather cryptic. To get more debugging information, I ran Publish-Module with the -Verbose switch parameter. The main errors I noticed were as follows: Invalid URI: The format of the URI could not be determined. … Read morePowerShell Error: Publishing Module to Gallery
For some time now, the PowerShell Gallery has been available, enabling the upload of PowerShell modules to a centralized repository. This repository provides an easily discoverable location from PowerShell 5.0’s PowerShellGet module. In order to install a PowerShell module in PowerShell 5.0, a user must simply type Install-Module -Name <ModuleName>. The module gallery is still … Read morePSA: Upload your PowerShell Modules!