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

Microsoft va limiter l’envoi d’e-mails en masse sur Exchange Online : la fin des campagnes marketing par email ?

A partir de 2025, Microsoft va limiter l'envoi d'e-mails en masse sur Exchange Online Lutte…

5 jours ago

StayFocusd : Gagnez du temps en bloquant les sites Web distrayants

Bloquer un site Internet pour vous empêcher de le visiter Il y a quelques temps…

6 jours ago

Microsoft injecte 1,5 milliard de dollars dans G42 pour consolider son leadership en IA

Face à l'essor fulgurant de l'intelligence artificielle et à l'arrivée de nouveaux acteurs puissants sur…

7 jours ago

Office 2024 : une alternative à l’abonnement Microsoft 365 ?

Pack Microsoft Office 2024 Depuis plusieurs années, Microsoft encourage activement ses utilisateurs à adopter un…

1 semaine ago

Donner accès à la Corbeille Active Directory en lecture

Par défaut, dans l'Active Directory, vous pouvez activer ce que l'on appelle la Corbeille AD…

2 semaines ago

Déployer WordPress avec une Azure Web App et MySQL

Introduction Qu’est-ce que WordPress ? WordPress gère environ 40% de tous les sites web sur…

2 semaines ago