AWS & PowerShell - Can you run PowerShell for AWS in AWS Lamda or some other service

Can you use AWS Lamda or some other service to run powershell or AWS CLI commands so you don't need a server?

aws ec2 describe-snapshots --filters Name=volume-id,Values=vol-abc123 --query Snapshots[*].{ID:SnapshotId} --output text >>c:\\AWS\snapshots.txt

aws ec2 describe-snapshots --query 'Snapshots[?StartTime >= `2018-01-01`].{id:SnapshotId}'
FikreDenekeAWS Cloud EngineerAsked:
Who is Participating?
Phil PhillipsDirector of DevOps & Quality AssuranceCommented:
Not powershell commands specifically.  However, those describe-snapshot calls (for example) are available. With Lambda, you can currently choose either Node.js (javascript), Java 8, C#, or Python. Each language has an SDK where you can access the same commands that the AWS CLI provides.
PberSolutions ArchitectCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Phil Phillips (https:#a42430637)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Experts-Exchange Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.