Title: AD or is this Exchange task?

Thanks Tony. One question if someone knows…

 

Below is an excerpt from the script. What should the syntax for the <folder path> be?

 

' This code toggles the mail-enabled status of the selected folder.

' ------ SCRIPT CONFIGURATION ------

strComputerName = "<serverName>"

strPubFolderPath = "<folderPath>"

 

In our Public Folder list when I look at it in Outlook, it shows: Public Folders/All Public Folders/HR Managers, and then under that is all the folders whose mail-enable status I want to turn off. These are named HR001, HR002, etc.

 

What should the strPublicFolderPath look like to accomplish this? Thanks again!


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tony Murray
Sent: Wednesday, December 21, 2005 4:38 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] AD or is this Exchange task?

 

Another method to do this is to use WMI.  Here’s sample script from the Exchange Server Cookbook.

 

http://www.exchangecookbook.com/files/09-08-change-PF-mail-enable-status.txt

 

Bear in mind that if you are running in mixed mode then Exchange 5.5 expects all PFs to be mail-enabled.

 

Tony

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Thursday, 22 December 2005 9:13 a.m.
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] AD or is this Exchange task?

 

The supported mechanism is to use the CDOEXM maildisable method.

 

http://msdn.microsoft.com/library/default.asp?url="">

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] AD or is this Exchange task?

I’ve been asked to write a script to mail-DISable a bunch of public folders. Is that accomplished by manipulating something in AD, or Exchange or both? I haven’t been able to uncover much documentation on this topic, except for one guy’s horror story. I’ll tell our Exchange dude to do it manually if this is an unusually risky undertaking, but there are about 1000 or so to do.

Thanks,

Mark


This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated.

This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it - please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002.


This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated.

Reply via email to