AWS Adds PowerShell Core 6.0 Support in Lambda
Lambda, the serverless computing platform from Amazon Web Services (AWS), now supports Microsoft PowerShell Core 6.0, the cloud giant announced this month.
PowerShell Core is Microsoft's open source, cross-platform automation framework for Linux, Windows and macOS. Microsoft released version 6.0 of the product at the start of this year, followed by version 6.1 just this month.
However, AWS' announcement of PowerShell Core support in Lambda only referred to the 6.0 release.
"You can now develop your AWS Lambda functions in PowerShell Core 6.0 using the .NET Core 2.1 runtime," the company said. "As a PowerShell developer, you can manage your AWS resources and craft rich automation scripts from within the PowerShell environment using AWS Lambda."
Norm Johanson, senior software developer engineer at AWS, elaborated on what the support means for both Lambda and PowerShell Core users in a blog post. "This new feature enables you to execute PowerShell scripts or functions in response to any Lambda event, such as an Amazon S3 event or Amazon CloudWatch scheduled event," he wrote.
Johanson described the requirements to use the capability. Besides having PowerShell Core 6.0 installed, users must also have the .NET Core 2.1 SDK, as well as this AWSLambdaPSCore module from the PowerShell Gallery. In addition, those using Visual Studio Code as their IDE must configure it for PowerShell Core 6.0.
The new integration with PowerShell Core 6.0 is available in all AWS regions that support Lambda. Additional information is available in AWS' Lambda documentation and this GitHub repository.
Gladys Rama is the senior site producer for Redmondmag.com, RCPmag.com and MCPmag.com.