English

Get the list of Management Agent available in MIM and their execution history in PowerShell

Get the list of Management Agent available in MIM and their execution history in PowerShell

Microsoft Identity Management (MIM 2016) is the new name for Forefront Identity Manager (FIM).

It’s the Microsoft on-premises solution for identity and access management in companies. It will enable you to:

  • Synchronize identities between directories, databases, and applications,
  • Self-service password, group and certificate management,
  • Increase admin security with policies, privileged access and roles.

I’m currently working on this for a customer’s project, and I had to make some PowerShell scripts to automate and schedule the launch of the different Management Agents and I think you may be interested by the following commands (that help me a lot):

get-wmiobject -class "MIIS_ManagementAgent" -namespace "root\MicrosoftIdentityIntegrationServer" -computername $MIMComputer | where {$_.Type -eq 'Active Directory'}

The above command will give you the list of the different Management Agents that are currently available in your MIM setup. The where part is not mandatory depending on what you are trying to synchronize in MIM (if needed, you can remove it).

And the below command will give you all the history of Management Agents’ execution.

get-wmiobject -Class 'MIIS_RunHistory' -namespace “root\MicrosoftIdentityIntegrationServer”
Share
Published by
thibault

Recent Posts

Zorin OS atteint un million de téléchargements grâce à Microsoft

Zorin OS atteint un million de téléchargements grâce à Microsoft Introduction Zorin OS, une distribution…

8 heures ago

Stargate fait son grand retour sur Amazon Prime Video : une nouvelle série en préparation

Première série : Stargate SG-1 avec Richard Dean Anderson en héro principale Amazon MGM Studios…

1 jour ago

WhatsApp : la fonction multi-comptes arrive enfin… d’abord sur iPhone

WhatsApp : la fonction multi-comptes arrive enfin... d'abord sur iPhone Après des années de demandes,…

1 jour ago

Gmail peut lire vos emails et pièces jointes pour entraîner son IA, sauf si vous refusez

Gmail peut lire vos emails et pièces jointes pour entraîner son IA, sauf si vous…

2 jours ago

Anthropic (Claude IA) : Une Nouvelle Ère de l’Intelligence Artificielle en France

Anthropic (Claude IA) : Une Nouvelle Ère de l'Intelligence Artificielle en France Introduction Anthropic (Claude…

1 semaine ago

Authentification PowerShell à Microsoft Graph via App Registration

Authentification PowerShell à Microsoft Graph via App Registration Vous utilisez probablement déjà PowerShell pour administrer…

2 semaines ago