I need some help trying to figure out how to write a script to re-enable a add-in for word.
What I would like to do is take the following command ( 2nd one) and say select object descrpition and if connect = false change it to true
Hope that makes sense and thanks for any suggestions
PS C:\> $word = new-object -comobject word.application
PS C:\> $word.COMAddIns
Application : Microsoft.Office.Interop.Word.ApplicationClass
Creator : 1297307460
Description : WorkSite Integration for Office
ProgId : WorkSiteOffice2007Addins.Connect
Guid : {37A96034-EB52-4509-96A2-8AEE5EA2C093}
Connect : True
Object : System.__ComObject
Parent : Microsoft.Office.Interop.Word.ApplicationClass