MIIS_ManagementAgent Class
The MIIS_ManagementAgent class represents a management agent within a WMI script. To use this class, you must be logged on as a member of the MIISOperators security group or the MIISAdmins security group.
The following syntax is simplified from MOF code and includes all inherited properties.
Syntax
class MIIS_ManagementAgent
{
String Name;
String Guid;
String Type;
};
Methods
The MIIS_ManagementAgent class defines the following methods.
| Method | Description |
|---|---|
|
Executes the specified run profile of the management agent. | |
|
Stops the management agent specified in the Get method. This call is synchronous and blocks any other calls to the specified management agent until this method is completed. | |
|
Determines if the connected directory server is running and connected to the network. | |
|
Returns the total number of connector, disconnector, and placeholder objects in this management agent. | |
|
Returns the number of all connector and explicit objects in this management agent. | |
|
Returns the total number of disconnector, explicit disconnector, and filtered disconnector objects in this management agent. | |
|
Returns the number of placeholder objects in this management agent. | |
|
Returns the number of connector objects that are under this management agent. The return value does not include explicit connector objects. | |
|
Returns the number of explicit connector objects in this management agent. The return value does not include connector objects. | |
|
Returns the number of disconnector objects in this management agent. The return value does not include explicit disconnector or filtered disconnector objects. | |
|
Returns the number of explicit disconnector objects in this management agent. This return value does not include disconnector or filtered disconnector objects. | |
|
Returns the number of filtered disconnector objects in this management agent. The return value does not include disconnector or explicit disconnector objects. | |
|
Returns the number of connector space objects that are candidates for joining or projecting to the metaverse. | |
|
Returns the number of connector or explicit connector objects that contain attribute changes to be applied to the joined metaverse object. | |
|
Returns the number of connector or explicit connector objects that will be deleted from the connector space. | |
|
Returns the number of connector or explicit connector objects that have no pending changes. | |
|
Returns the number of connector space objects that will be added to the connected directory on the next export. | |
|
Returns the number of objects that will be updated in the connected directory on the next export. | |
|
Returns the number of objects that will be deleted from the connected directory on the next export. | |
|
Returns the details of the last management agent run in an XML format. For more information about the run details XML schema, see <run-history>. | |
|
Returns the date and time, in Coordinated Universal Time (UTC), when the management agent ended a run. The method returns a value only if the management agent is idle. For the local time the management agent ended the run, convert the return value to local time. | |
|
Returns the name of the run profile that was used in the current or previous management agent run. | |
|
Returns the number of times the management agent was run. | |
|
Returns the date and time, in Coordinated Universal Time (UTC), when the management agent started a run. The method returns a value only if the management agent is idle. For the local time the management agent ended the run, convert the return value to local time. | |
|
Returns the status of the last management agent run. | |
|
Suppresses the full sync warning on this management agent for the most recent update. |
Properties
The MIIS_ManagementAgent class defines the following properties.
- Guid
- Data type: String
Access type: Read-onlyGets the globally unique identifier of the management agent.
- Name
- Data type: String
Access type: Read-only
Qualifiers: KeyGets the name of the management agent.
- Type
- Data type: String
Access type: Read-onlyGets the management agent type.
Requirements
| Product | ILM 2007 FP1 |
|---|---|
| MOF | Mmswmi.mof |
| Namespace | MicrosoftIdentityIntegrationServer |
Send comments about this topic to Microsoft
Build date: 2/16/2009
There's a method missing here - should also contain 'ResyncSyncConfigObjects()'.
This method comes in handy when the FIM Service is out of sync with the FIM Sync Engine. The Sync engine client (miisclient.exe) tries to update the ma-data and mv-data objects in the FIM Service whenever the FIM Sync configuration changes. If that update fails for whatever reason (timeout, FIM Service is down, etc) then you can call this method to force the sync.
After calling the method you should see requests in the FIM Service request history such as:
- Create ma-data '<MA NAME>' Request
- Delete ma-data '<MA NAME>' Request
- Create ma-data 'Metaverse Configuration Object' Request
- ...
If you do NOT see those requests in the request history, then chances are your FIM MA account is pooched.
### Get the FIM MA
$fimMa = Get-WmiObject -Class MIIS_ManagementAgent -Namespace root/MicrosoftIdentityIntegrationServer -Filter ("Type='Forefront Identity Management (FIM)'")
### Call the WMI method to ReSync the Config Objects from miiserver.exe to microsoft.resourcemanagement.service.exe$fimMa.ResyncSyncConfigObjects()
$fimMa.ResyncSyncConfigObjects()
- 1/19/2011
- Craig Martin