The AWS SDK (for any language) is awesome and very powerful. Everything you can do in the AWS console you can do programatically which is why the AWS platform is so awesome to work with.
Getting started with using the AWS SDK can be a little daunting, so in this article we will be looking installing and configuring the AWS SDK for PowerShell so that you can get straight into automating your AWS environment.
One of the most annoying things when using the
Export-CSV cmdlet in PowerShell is that the data is never in the order you stored it in. This article solves this problem and changes your life in the process!
When writing PowerShell scripts, I often search for specific data, store that data in an object and then most times I export it to CSV format. This article shows you how to do all of this using
The PowerShell execution policy is a good feature from a security perspective, but in most cases it is just plain annoying, especially when running scripts from Group Policy, Task Scheduler, or some other sort of remote mechanism. This article shows you how to bypass the PowerShell execution policy on a machine so that you can run your script on a system irrespective of what execution policy is set.
In most cases, PowerShell makes easy work out of working with the registry and its various components. However, it isn’t as easy if you want to enumerate & search registry key values. I was faced with this situation recently, so here is the solution I came up with.
If you have Windows Firewall enabled then chances are that eventually you are going to find that it will be blocking one or more ports required by your applications. Checking Windows Firewall for blocked ports will help you troubleshoot your issues.
To check if Windows Firewall is blocking a port(s) that your machine is trying to communicate, follow the steps below…
Recently I needed to configure all of our 50 or so ESXi hosts to forward SNMP traps to our corporate monitoring solution. This meant enabling and configuring SNMP on each of the hosts. Naturally, I wrote a script for this as 50 hosts is way too many to do manually.
This article shows you how configure SNMP on an ESXi host manually, via PowerCLI and via host profiles.
This is a quick article to document a fix to an issue I came across the other day with vSphere Update Manager (VUM) failing to download patches.