Download and Install Applications from the Web with Powershell

For various administrative purposes, it can be useful to download files and install via Powershell. There are a few ways to do it, but with Powershell 5.1, I'll leverage invoke-webrequest and start-process. In the example below, I'm downloading Windows Powershell for AWS installer, using /qn to install silently. As always, don't forge to Run As … Continue reading Download and Install Applications from the Web with Powershell

What To Do If You Lose Your EC2 Private Key

This hasn't happened to me, but knowing that it could encourages me to take note of how to address the scenario if it occurs. I came across a great example here (great step-by-step instructions). To sum up: Shutdown your instance Create an AMI Launch an instance from an AMI where you can create/choose a private … Continue reading What To Do If You Lose Your EC2 Private Key

Changing iDrac Settings via OMSA on an ESXi host

Let's say you need to reconfigure your ESXi host's iDrac.  Assuming you have OpenManage installed on the ESXi host, this is very simple... Log into OpenManage (be sure to check ignore certificates when logging in). The username and password will be the same as your ESXi root credentials. Expand System > Main System Chassis > … Continue reading Changing iDrac Settings via OMSA on an ESXi host

Resetting the password on your Windows EC2 instance via SSM

I came across and interesting approach recently for resetting a misplaced/undocumented Windows administrator passwords in a reddit post.  This technique is only valid for instances with SSM installed. "SSM Agent is installed by default on Windows Server 2016 instances and instances created from Windows Server 2003-2012 R2 AMIs published in November 2016 or later." As … Continue reading Resetting the password on your Windows EC2 instance via SSM

Snapshotting Windows EC2 Instances with Powershell – Part 2

In Part 1, we successfully initiated a snapshot with Powershell.  Here we'll continue building out the script.   Cleaning Up Old Snapshots Anyone who's ever worked with regularly scheduled snapshots knows you need regularly scheduled cleanup or your AWS invoices will slowly creep up over time. I'll be filtering by Description to determine which snapshots do … Continue reading Snapshotting Windows EC2 Instances with Powershell – Part 2

Snapshotting Windows EC2 Instances with Powershell – Part 1

As you likely already know, there's isn't an option to schedule EC2 instance snapshots within the AWS console. A popular way to address this would be to use Boto3, AWS' SDK for Python.  However, it is also possible to initiate EC2 snapshots with Powershell. Why would you want to do this with Powershell?   Let's say … Continue reading Snapshotting Windows EC2 Instances with Powershell – Part 1

File Sharing SaaS Solutions & Your Data: Considerations for Business Use

There's a lot to like about file sharing SaaS apps like Dropbox. Why? They are super simple to use They enable "anywhere" access The cost typically scales with the number of users/no large upfront Support and maintenance need is typically pretty low This makes these types of solutions ideal for startups and small companies.  However, … Continue reading File Sharing SaaS Solutions & Your Data: Considerations for Business Use