My Profile Photo
name := "Graham Beer"

`Cloud Engineer with his head in the AWS clouds, authored chapters in the PowerShell Conference Book 1 & 2 and currently learning and enjoying Go


PowerShell Conf Book Planet PowerShell Top 50 PowerShell

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:

  1. Install PowerShell Core
    https://github.com/powershell/powershell
  2. Install the .NET Core 2.1 Software Development Kit (SDK)
    https://www.microsoft.com/net/download
  3. Install the AWSLambdaPSCore module
    Install-Module AWSLambdaPSCore -Scope CurrentUser

When installing the .NET Core 2.1 SDK, make sure you install the SDK and not the runtime. Once you have installed these components, you’re ready to start!

To continue reading please follow the below link.

4sysops article continues here…