AWS Lambda Adds PowerShell Core 6.0 Support

Amazon Web Services Inc. added support for PowerShell Core 6.0 to its AWS Lambda service.

Lambda is the Amazon cloud's event-driven, serverless computing platform, automatically triggering code to be executed and managing the needed resources for that execution, typically in response to events.

The AWS cloud is continually adding support for developer options in Microsoft's .NET world, and this latest move targets PowerShell -- a task-based command-line shell and scripting language -- running on Microsoft's .NET Core 2.1 runtime.

PowerShell Core 6.0, a new cross-platform edition of the product, was announced early this year. This open source offering works on Windows, macOS, and Linux and is specifically built to work in heterogeneous environments and hybrid clouds.

.NET Core is Microsoft's modern, modular implementation of .NET, also cross-platform and open source

"As a PowerShell developer, you can manage your AWS resources and craft rich automation scripts from within the PowerShell environment using AWS Lambda," AWS announced earlier this month.

"You can use any of the available PowerShell cmdlets or develop your own when authoring your serverless functions. To get started, simply download the AWS Lambda Tools for PowerShell module from PowerShell Gallery. It includes project templates for PowerShell-based serverless applications as well as tools to publish projects to AWS."

More information on setting up a development environment, creating a PowerShell based Lambda script and more in the context an example use case is provided here.

Also, AWS just yesterday published more guidance, titled "Creating a PowerShell REST API."

"With the recent AWS Lambda support for PowerShell, it's now easy to make web APIs with Amazon API Gateway that execute your PowerShell scripts," the new documentation states.

Yet more documentation is also available, titled "Programming Model for Authoring Lambda Functions in PowerShell."

PowerShell support is available in all AWS regions where Lambda is available.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • GitHub Copilot for Azure Gets Preview Glitches

    This reporter, recently accepted to preview GitHub Copilot for Azure, has thus far found the tool to be, well, glitchy.

  • New .NET 9 Templates for Blazor Hybrid, .NET MAUI

    Microsoft's fifth preview of .NET 9 nods at AI development while also introducing new templates for some of the more popular project types, including Blazor Hybrid and .NET MAUI.

  • What's Next for ASP.NET Core and Blazor

    Since its inception as an intriguing experiment in leveraging WebAssembly to enable dynamic web development with C#, Blazor has evolved into a mature, fully featured framework. Integral to the ASP.NET Core ecosystem, Blazor offers developers a unique combination of server-side rendering and rich client-side interactivity.

  • Nearest Centroid Classification for Numeric Data Using C#

    Here's a complete end-to-end demo of what Dr. James McCaffrey of Microsoft Research says is arguably the simplest possible classification technique.

  • .NET MAUI in VS Code Goes GA

    Visual Studio Code's .NET MAUI workload, which evolves the former Xamarin.Forms mobile-centric framework by adding support for creating desktop applications, has reached general availability.

Subscribe on YouTube