My Profile Photo

${Graham Beer} = 'blog'


Infrastructure Engineer, authored chapter in the PowerShell Conference Book, co-founder of the PowerShell user group in the South Coast and Top 50 Blogger 2018


PowerShell Conf Book Planet PowerShell Top 50 PowerShell
  1. AWS lifecycle rules on S3 buckets with PowerShell

    One of the features Amazon Simple Storage Service (S3) provides to storage buckets is lifecycle rules. You can use a lifecycle rule to remove or archive objects. I will be looking at creating a lifecycle rule with PowerShell to remove objects from a S3 bucket. Creating a lifecycle rule is a good way to automate the housekeeping of your S3 bucket. By using lifecycle rules, you can remove objects after so many days, by a...…


  2. Working with AWS credentials using PowerShell

    If you want to automate tasks in AWS with PowerShell, then you’ll need a safe way to store your credentials. To have programmatic access, AWS provides you with an access key and a secret key. I’ll explore how you can keep them secure on your system and how to call them when you come to work with AWS. Before continuing, note that I’ll be using the PowerShell core module in this article. The details can...…


  3. Create and view EC2 security groups with PowerShell

    For those of you who are new or unfamiliar with security groups in Amazon Web Services (AWS), they are a virtual firewall for your Elastic Compute Cloud (EC2) instance to control inbound and outbound traffic. I will be looking at how we can create and view our security groups with PowerShell using the AWSPowerShell.NetCore module. Before delving into creating security groups with PowerShell, it is worth noting their basics: First, you are creating AWS security...…


  4. Convert PowerShell output into a pie chart

    The idea to display information as a pie chart came about when I needed to write a summary email about a task I had done with PowerShell. I had the results captured in a CSV file and was about to hit send, when I thought: how quick and easy would it be to interpret this information as a visual chart? Opening a CSV file, going to the bottom to look at the totals of successful...…


  5. AWS Lambda with PowerShell

    Amazon Web Services (AWS) released some exciting news back in September, announcing Lambda support for PowerShell Core. The feature now enables us to execute PowerShell scripts and functions to respond to events in AWS. Before we start writing our scripts and functions, we need to know what prerequisites we need to create a PowerShell AWS Lambda environment. A few steps need to occur to achieve this: Install PowerShell Core https://github.com/powershell/powershell Install the .NET Core 2.1...…