Programmatically wait for synchronize TMG server configuration.

Answered Programmatically wait for synchronize TMG server configuration.

  • Thursday, October 04, 2012 3:53 PM
     
     

    Hi All!

    I have some Web Filter for ISA/TMG and I want to wait for synchronization the server configuration with stored configuration after install/deinstall this filter. Is it possible to do it programmatically?

All Replies

  • Thursday, October 04, 2012 4:08 PM
     
     

    Hi,

    you can do this with VBS and WSCRIPT. The command to store the TMG configuration into AD-LDS is:  tmgArray.Save


    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.nt-faq.de

  • Thursday, October 04, 2012 9:31 PM
     
     Answered
    Look at the DistributionStatus property of your server object.  If it is fpcStatusNotSynced or fpcStatusUpdating, then you know you should wait longer.
    • Marked As Answer by Kain Merg Friday, October 05, 2012 8:41 AM
    •