Labels

3300 (1) 3PAR (1) Active Directory (1) ADFS (1) Admin Share (1) Auto-Sync (2) Auto-Sync locked (1) AWS (3) AzCopy (1) Azure (3) Backups (2) Broadcom (1) Call Forwarding (1) CLI (2) cmd (1) Compatibility View (1) Dameware MRC (1) Databases (1) DFS (1) DNS (1) Domain Admin (1) domain controller (1) Enterprise Mode (1) ESXi 5.0 (1) ESXi 5.1 (5) ESXi 5.5 (3) Exchange (3) Exchange 2010 (5) Extreme (1) ExtremeXOS (1) Federation (1) File Share (1) FSMO (1) GPO (1) Group Policy (1) Group Policy Client (1) Hardware Acceleration (1) Helpdesk (1) HP-UX (1) Hyper-V (2) IAM (1) IE10 (1) IE11 (1) IP conflict (1) Kayako (3) LDAP (1) Licence (1) Links (9) local groups (1) LUN lock (1) LUN number (1) MAC address (1) Microsoft Teams (1) Mitel (1) Namespaces (1) Networking (6) Nexenta (6) NMC (1) Office 365 (4) OneDrive (1) Outlook 2003 (1) Outlook 2013 (1) PC (1) Physical (1) PowerCLI (10) Powershell (10) promoted links (2) Public Folders (1) RDP (1) RDS (1) Recovery Services (1) RedShift (1) Registry (3) Reports (1) Resolve (2) Restart (1) RSA (1) Run As (1) SAML (1) SAN (1) Scavenging (1) script (10) Server 2003 (3) Server 2008 R2 (1) Server 2012 R2 (2) Servers (2) sharepoint 2013 (3) SMTP (3) Snapshot (2) SRM (1) SSH (5) SSL Certificate (2) Temporary profile (1) Terminal Server (3) Troubleshooting (5) Ubuntu (1) Update Manager (1) Useful Apps (1) VAAI (1) vCenter Server Appliance (1) VDI (1) VDP (1) Veeam Backup and Replication (2) VM (1) VM Error (1) vmdk (1) VMFS (1) vMotion (2) VMware (20) VoiP (1) vSphere 5.5 (4) vSphere 6.0 (2) vSphere 6.5 (1) vUM (1) webpart (1) Windows (3) Windows 10 (1) Windows 7 (2)

Wednesday, 28 February 2018

AWS: IAM Users And Groups Report

The following script will pull the list of groups associated with IAM users in AWS. The user list can be generated by going to the IAM service in the AWS console and selecting "Credential Report".

$users = get-content iam-users.txt
$report = @() 
foreach ($user in $users)
{
    $info = Get-IAMGroupForUser -UserName $user | select -ExpandProperty GroupName
$report+="$user, $info"
}
$report | Out-File "user-groups.csv"

3 comments:

  1. I will call you to increase debates in support or disagreements against abortion or call you to chat on both. How to write Abortion essay: Pro Tips
    Have you ever questioned why it’s tough for most white people in the USA to attest that bigotry exists? Racism Essay: How to write on controversial topic
    Using excessive force can result in severe injury and also, in most cases, fatality. Fatality brought on by cops brutality is wrongful death and also is culpable by regulation. How to write police brutality essay: Few Tips
    Having the possibility to sell your products to Costco is an exciting suggestion and could be a substantial game changer for your company. Selling your products to Costco: Tips For Costco Essay
    Have you ever make use of a parallel framework for your essay? Exactly how does it function? How To Ensure Parallel Construction In Your Essay
    We are exceptionally grateful to these police specialists. Let’s take a look at details that could be helpful on writing Police Brutality essay. Police Brutality Essay: Important Details
    Costco Wholesale Company is a wholesale club that calls for clients to acquire yearly subscriptions to patronize their stores. Wholesale Business Analysis: Tips for Costco Essay
    Finding out how to create a solid essay requires practice and not a tiny agony for numerous pupils. Tips To Ensure Parallel Construction In Your Essay
    If you are an English language trainee, you will undoubtedly create several tasks for your academics. AP Lang Rhetorical Analysis Essay Guide
    If you are an English language trainee, you will undoubtedly create several tasks for your academics. AP Lang Rhetorical Analysis Essay Guide
    Writing an essay is a burden that every student must bear. Therefore, it is likely that you will have to take on this task yourself. Learn these easy steps to create a Narrative Essay Outline
    If you are an English language trainee, you will undoubtedly create several tasks for your academics. AP Lang Rhetorical Analysis Essay Guide
    If you are pursuing a higher goal, you will have to pass difficult exams. Exams get harder as you get older. How To Become An Archaeologist In India
    Archaeology is the study of the ancient human past through material remains. How To Become An Archaeologist In India

    ReplyDelete
  2. VPS hosting is a fairly new technology that just became popular recently. VPS stands for Virtual Private Server. This term confuses many people and businesses looking for a web host for their internet ventures. This is because it's a mix of shared hosting and dedicated hosting. We shall try to explain the advantages and disadvantages of VPS hosting to help you choose if it's the best solution for your endeavors. https://onohosting.com/

    ReplyDelete