Automate Management Agent
Yes more questions. I'm just thirsty for knowledge.How do I automate the Management agents to sync or do they just automatically run on a predefined schedule? Or am I "missing an important config step" here?ThanksSean"Someday I'll be answering these 'silly questions'" ;)Computers are cool. I just can't hold myself back.
July 14th, 2009 1:26am
Management agents will run on a schedule that you specify. The concepts involved here haven't changed substantially since MIIS 2003/ILM 2007.See the following for some light reading on configuring Run Profiles: http://technet.microsoft.com/en-us/library/cc720554(WS.10).aspxhttp://support.microsoft.com/kb/827118http://support.microsoft.com/kb/952732http://download.microsoft.com/download/3/0/0/30082d6f-69b7-446f-9b29-dbd460b94f8a/MIIS_Run_Profiles.docLaura E. Hunter - Directory Services MVP
Identity Architect - Oxford Computer Group
ILM2 & Identity Training, Upcoming Dates - http://www.oxfordcomputergroup.com/course-dates.aspx
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2009 2:02am
You will find everything you need in conjunction witth this topic here.Cheers,MarkusMarkus Vilcinskas, Technical Content Developer, Microsoft Corporation
July 14th, 2009 2:55pm
Oh THAT is Beautiful :)No chance this can be done with my old friend Powershell eh?SeanComputers are cool. I just can't hold myself back.
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2009 3:15pm
Well, your question was about "automatically run on a predefined schedule" - right :-)Of course can you use PowerShell to run a script:
set-variable -name MaName -value "<Your MA Name>" -option constant
set-variable -name ProfileName -value "Full Import" -option constant
$curMA = @(get-wmiobject -class "MIIS_ManagementAgent"`
-namespace "root\MicrosoftIdentityIntegrationServer"`
-computername "."`
-filter "Name='$MaName'")
if($curMA.count -eq 0){throw (new-object Exception "MA not found")}
write-host "`nStarting $ProfileName on $MaName"
write-host "Result: $($curMA[0].Execute($ProfileName).ReturnValue)`n"
#---------------------------------------------------------------------------------------------------
trap [Exception]
{
Write-Host "`nError: $($_.Exception.Message)`n" -foregroundcolor white -backgroundcolor darkred
Exit
}
#---------------------------------------------------------------------------------------------------
Cheers,Markus
Markus Vilcinskas, Technical Content Developer, Microsoft Corporation
July 14th, 2009 3:31pm
Oh *THAT'S* just beauty beyond description. B)Does that mean the "Final Cut" of FIM2010 will have a Powershell Module? Please? PLEASE? X)SeanComputers are cool. I just can't hold myself back.
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2009 10:03pm
Yes and no :o)We willreleasesome cmdletsfor the export-import-scenario.However, there won't be anything from us beyond this.If you look at the PS script above,you will notice that it justleverages the available WMI interface.Partners - such asQuest - are planning on releasing what you are looking for.Cheers,MarkusMarkus Vilcinskas, Technical Content Developer, Microsoft Corporation
July 14th, 2009 10:21pm