aws cli获取帐户授权详细信息

时间:2020-10-16 16:36:56

标签: amazon-web-services aws-cli

我在PowerShell中运行命令,结果集仅在PowerShell中返回。在我的本地驱动器中创建了一个输出文件,但是该文件为空。

aws iam get-account-authorization-details | out-file -filepath C:\Users\output.csv

我也尝试过:

aws iam get-account-authorization-details > output.csv

有人知道我如何获得将结果集写入输出文件的方法吗?谢谢。

0 个答案:

没有答案