AWS Inventory CMD is the Windows Command Prompt version of our best-selling tool for customers who prefer to use the command line or to automate the delivery of AWS inventories.
This tool is for AWS Inventory registered customers and requires a valid license. To purchase a license, click
here.
Requirements:
Windows x64 Operating System.
.NET Runtime 6.x installed. Instructions are
here.
A valid license of
AWS Inventory Professional or
AWS Automation Pack. Copy the license file to the same folder where AWS Inventory CMD is installed.
AWS Credentials, you can use
AWS Access Key & AWS Secret Key or
AWS Session Tokens Authentication to authenticate.
AWS Inventory Profile, use this
link to configure AWS Inventory CMD from Command Prompt or copy the file
Kopi.AWS.Credentials generated with
AWS Inventory Professional.
How to use AWS Inventory CMD?
List and Export all your AWS services listed above to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportall
List and Export all your AWS Network ACLs to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportacl
List and Export all your AWS EBS Volumes to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportebs
List and Export all your AWS EC2 Instances listed above to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportec2
List and Export all your AWS ElastiCache Clusters to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportelasticache
List and Export all your AWS Elastic IPs to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportelasticip
List and Export all your AWS Directory Service to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportdirectoryservice
List and Export all your Amazon DynamoDB Tables to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportdynamodbtables
List and Export all your AWS IAM Users to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportiamuser
List and Export all your AWS IAM Groups to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportiamgroup
List and Export all your AWS IAM Policies to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportiampolicy
List and Export all your AWS IAM Roles to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportiamroles
List and Export all your AWS Lambda Functions to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportlambda
List and Export all your AWS Load Balancers to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportlb
List and Export all your AWS MQ Brokers to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportmqbrokers
List and Export all your AWS Redshift Clusters to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportredshift
List and Export all your AWS RDS Instances to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportrds
List and Export all your AWS Security Groups to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportsecuritygroup
List and Export all your AWS S3 Buckets to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exports3
List and Export all your AWS Subnet to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportsubnet
List and Export all your AWS VPC to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportvpc
List and Export all your AWS VPN to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportvpn
List and Export all your Amazon WorkSpaces to Excel or CSV files
D:\KopiCloud-Tools> AWSInventoryCMD --exportworkspaces
Advanced Features:
Generate the AWS EC2 Instances Inventory and save it to the folder C:\Inventory
D:\KopiCloud-Tools> AWSInventoryCMD --exportec2 --outputdir "C:\Inventory"
Generate the AWS S3 Bucket Inventory and send it by email to david.morales@mos.com
D:\KopiCloud-Tools> AWSInventoryCMD --exports3 --email "david.morales@mos.com"
Generate the AWS Load Balancers Inventory and send it by email to david.morales@mos.com and louie.vega@mos.com
D:\KopiCloud-Tools> AWSInventoryCMD --exportlb --email "david.morales@mos.com,louie.vega@mos.com"
How to automate AWS Inventory CMD with Task Scheduler on Windows
Execute
AWS Inventory CMD Daily at 11 pm
$TaskAction = New-ScheduledTaskAction -Execute 'D:\KopiCloud\AWSInventoryCMD' -Argument '--exportec2 --email "roger.sanchez@mos.com"'
$TaskTrigger = New-ScheduledTaskTrigger -Daily -At 11pm
Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "AWS Inventory Daily Email" -User "System" -RunLevel Highest
Execute
AWS Inventory CMD Every Friday at 10 pm
$TaskAction = New-ScheduledTaskAction -Execute 'D:\KopiCloud\AWSInventoryCMD' -Argument '--exportec2 --email "roger.sanchez@mos.com"'
$TaskTrigger = New-ScheduledTaskTrigger -Weekly -DaysOfWeek Friday -At 10pm
Register-ScheduledTask -Action $TaskAction -Trigger $Tasktrigger -TaskName "AWS Inventory Daily Weekly" -User "System" -RunLevel Highest