S.D.
S.D.

Reputation: 1201

Windows powershell AWSCLI exits with prompt 'How do you want to open this file'

Unable to execute aws cli commands from powershell terminal. But the same works fine with cmd shell. The problem is when the aws command is called through powershell terminal, windows is prompting with a dialogue box "How do you want to open this file?" Attached the screenshot showing the results when the aws cli is called using cmd shell & powershell. I have tried re-installing the AWS CLI but it didn't help. How to fix this problem?enter image description here

Upvotes: 0

Views: 1345

Answers (1)

Jim Mulvey
Jim Mulvey

Reputation: 537

In powershell run the command "get-command aws". You may find PowerShell is not finding the aws command in the proper location. Perhaps you have a file named aws in the directory from which you're running the command?

Upvotes: 2

Related Questions