Amazon Webservice Powershell凭据设置错误

时间:2017-06-06 17:15:05

标签: powershell amazon-web-services aws-powershell

我正在尝试通过Windows Powershell在我的本地计算机上设置我的AWS,并收到以下错误消息:

PS C:\windows\system32> Set-AWSCredentials -AccessKey AKIAJVD4X35xxxxxx -SecretKey 8CyGJKtOtqesdroQS/IJVZwNnZSr/xxxxxxxx -StoreAs AWSarnav

Set-AWSCredentials : Could not load file or assembly 'System.Reflection.TypeExtensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
system cannot find the file specified.
At line:1 char:1
+ Set-AWSCredentials -AccessKey AKIAJVD4X35xxxxxx -SecretKey 8CyGJKt ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-AWSCredential], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Amazon.PowerShell.Common.SetCredentialCmdlet

0 个答案:

没有答案