And that's the only way it works; that is inapplicable to ADSI. Ed Crowley MCSE+Internet MVP kcCC+I Tech Consultant Compaq Computer Corporation Protecting the world from PSTs and Bricked Backups!
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Mark Harford Sent: Friday, January 11, 2002 3:03 AM To: Exchange Discussions Subject: RE: Exchg 5.5 ADSI Scripting Question "~DEL" can be used to remove data from specific fields in the user properties. It certainly works for the directory import approach/ -----Original Message----- From: Aarts, Jan [mailto:[EMAIL PROTECTED]] Sent: 11 January 2002 09:28 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] This e-mail, and any attachment, is confidential. If you have received it in error, please delete it from your system, do not use or disclose the information in any way, and notify me immediately. The contents of this message may contain personal views which are not the views of the BBC, unless specifically stated. _________________________________________________________________ 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]