Hoping this can help you:


Try to use the IADs:PutEx 
get the value to the var myString and Set
Obj.PutEx ADS_Property_Delete, "Alt-Recipient", Array(myString)

See the ADSI SDK in the Help


António José E Cabrita


  



-----Original Message-----
From: Aarts, Jan [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 11, 2002 9:28 AM
To: Exchange Discussions
Subject: RE: Exchg 5.5 ADSI Scripting Question


I believe you need to delete the propery with .delete("<propertie>").  But
I'm not sure that it should be delete, remove or something else...

But if everythings fails you can do a simple export-import of the directory
with a correct csv file

Regards

-----Original Message-----
From: Bob [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, January 10, 2002 3:46 AM
To: Exchange Discussions
Subject: Exchg 5.5 ADSI Scripting Question


Don't know if this is the right group for this but here goes...

I'm migrating accounts from unix sendmail to exchange and need to carry the
users' .forward file info with the mailbox.  My script sets the mailbox's
'Alt-Recipient' and 'forwardingAddress' property on the mailbox to create
the forward - this works ok.  The problem comes when I want to unset these
properties.  I can't seem to remove the forward via script without getting
an error.

You'd think this would be simple.  Just set the same properties to "" or
Null or something but that doesn't work.

Any insight would be greatly appreciated.

thanks,
bob

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

_________________________________________________________________
List posting FAQ:       http://www.swinc.com/resource/exch_faq.htm
Archives:               http://www.swynk.com/sitesearch/search.asp
To unsubscribe:         mailto:[EMAIL PROTECTED]
Exchange List admin:    [EMAIL PROTECTED]

Reply via email to