| Author | Messages | |
CreamerM@xxxx.yyy
 | | 12/21/2005 8:04 AM |
| 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. | | | |
| listmail
Posts:429
 | | 12/21/2005 8:17 AM |
| The supported mechanism is to use the CDOEXM maildisable
method.
http://msdn.microsoft.com/library/default.asp?url="">
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer,
MarkSent: Wednesday, December 21, 2005 2:59 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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,
MarkThis 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. | | | |
| AD00000333
Posts:0
 | | 12/21/2005 8:37 AM |
| As much as I like to whip up perl code, I usually use
AutoIt http://www.autoitscript.com/autoit3/ for
one-shot things like this. From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer,
MarkSent: Wednesday, December 21, 2005 2:59 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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,
MarkThis 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. | | | |
| CreamerM@xxxx.yyy
 | | 12/21/2005 8:56 AM |
| Cool!. I™ve used autoitx.dll control
in my scripts before for weird little macro-like tasks, but I didn™t know
about this. Thanks Ken!
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Ken Cornetet
Sent: Wednesday, December 21, 2005
3:35 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] AD or is
this Exchange task?
As much as I like to whip up perl code, I
usually use AutoIt http://www.autoitscript.com/autoit3/ for
one-shot things like this.
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005
2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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 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. | | | |
| TonyTest
Posts:0
 | | 12/21/2005 9:38 AM |
| 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joe
Sent: Thursday, 22 December 2005 9:13 a.m.
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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. | | | |
| CreamerM@xxxx.yyy
 | | 12/22/2005 1:24 AM |
| Thanks Tony. One question if someone knows¦
Below is an excerpt from the script. What
should the syntax for the be?
' This code toggles the
mail-enabled status of the selected folder.
' ------ SCRIPT
CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tony Murray
Sent: Wednesday, December 21, 2005
4:38 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joe
Sent: Thursday, 22 December 2005
9:13 a.m.
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005
2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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. | | | |
| amulnick
Posts:127
 | | 12/22/2005 1:40 AM |
| Thanks Tony. One question if someone knows¦
Below is an excerpt from the script. What should the syntax for the be?
' This code toggles the mail-enabled status of the selected folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of joeSent: Thursday, 22 December 2005 9:13 a.m.To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject:
[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. | | | |
| AD000001438
Posts:0
 | | 12/22/2005 1:51 AM |
| Hi,
Can I admin exchange 5.5 by script?
Thank´s
Atila FirminoAnalista Segurança da
InformaçãoOperações e ControlesBanco Santander BanespaTel.: (11)
5635-8736Fax: (11) 5635-8488afirmino@xxxxxxxxxxxxxxxxxxxxxxx
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al
MulnickSent: quinta-feira, 22 de dezembro de 2005 10:38To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this
Exchange task?
IIRC, it's
Public Folders/All Public Folders/HR
Managers/HR001
Al
On 12/22/05, Creamer,
Mark
wrote:
Thanks Tony. One
question if someone knows...
Below is an excerpt
from the script. What should the syntax for the
be?
' This code
toggles the mail-enabled status of the selected folder.
' ------
SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joeSent: Thursday, 22 December 2005 9:13
a.m.To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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. | | | |
| amulnick
Posts:127
 | | 12/22/2005 2:00 AM |
| Hi,
Can I admin exchange 5.5 by script?
Thank´s
Atila FirminoAnalista Segurança da InformaçãoOperações e ControlesBanco Santander BanespaTel.: (11) 5635-8736Fax: (11) 5635-8488
afirmino@xxxxxxxxxxxxxxxxxxxxxxx
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al MulnickSent: quinta-feira, 22 de dezembro de 2005 10:38To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this Exchange task? IIRC, it's
Public Folders/All Public Folders/HR Managers/HR001
Al
On 12/22/05, Creamer, Mark wrote: Thanks Tony. One question if someone knows...
Below is an excerpt from the script. What should the syntax for the be?
' This code toggles the mail-enabled status of the selected folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of joeSent: Thursday, 22 December 2005 9:13 a.m.To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject:
[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. | | | |
| deppdm@xxxx.yyy
 | | 12/22/2005 2:38 AM |
| Why can't you do this through ESM? Navigate to public Folders, Select
the HR Mangers PF, disable mail support and then click on propagate
settings.
Denny
-----Original Message-----
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, Mark
Sent: Thursday, December 22, 2005 8:22 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] 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
be?
' This code toggles the mail-enabled status of the selected folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tony Murray
Sent: Wednesday, December 21, 2005 4:38 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joe
Sent: Thursday, 22 December 2005 9:13 a.m.
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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=/library/en-us/e2k3/e2
k3/_cdo_imailrecipient_maildisable.asp
________________________________
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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.
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ | | | |
| CreamerM@xxxx.yyy
 | | 12/22/2005 6:42 AM |
| I think I™m pretty close on this,
but am unable to get past an error. When I run the script (which initially I
configured to only tell me whether or not the various folders are mail-enabled),
I get an error 0x80041010. My research suggests this is either because
something is misspelled in the WMI query, or that the Class doesn™t even
exist in the given namespace. I tried running it on the server itself, but same
result. Then I opened Scriptomatic V2 and selected the Root/MicrosoftExchangeV2
namespace, and sure enough, Exchange_PublicFolder does not show up as a class
in that namespace. So I guess that™s why the error happens, but how do I
fix it? Script is below¦
Thanks!
strComputerName = "myServer"
strPubFolderPath = "/Public
Folders/All Public Folders/HR Managers/" strE2K3WMIQuery = "winmgmts://"
& strComputerName & "/root/MicrosoftExchangeV2"
' query for the specific folder we
want Set wmiService =
GetObject(strE2K3WMIQuery) query = "Select * From
Exchange_PublicFolder" & " Where Path='" &
strPubFolderPath &
"'" Set targetFolder =
wmiService.ExecQuery(query)
' report on the mail-enabled status, then
toggle
it For Each folder In
targetFolder
If
folder.IsMailEnabled
Then WScript.Echo
folder.Name & " is mail-enabled as " &
folder.TargetAddress
Else WScript.Echo
folder.Name & " is not
mail-enabled" End
If Next
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al Mulnick
Sent: Thursday, December 22, 2005
8:38 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re: [ActiveDir] AD or is
this Exchange task?
IIRC, it's
Public Folders/All Public Folders/HR
Managers/HR001
Al
On 12/22/05, Creamer,
Mark
wrote:
Thanks Tony. One question if someone knows¦
Below is an excerpt from the script. What should the syntax
for the be?
' This code toggles the mail-enabled status of the selected
folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = "" strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tony Murray
Sent: Wednesday, December 21, 2005
4:38 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of joe
Sent: Thursday, 22 December 2005
9:13 a.m.
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005
2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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.
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. | | | |
| michael@xxxx.yyy
 | | 12/22/2005 6:48 AM |
| You are Exchange Server 2003,
right? From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer,
MarkSent: Thursday, December 22, 2005 1:39 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] AD or is this
Exchange task? I think I™m pretty
close on this, but am unable to get past an error. When I run the script (which
initially I configured to only tell me whether or not the various folders are
mail-enabled), I get an error 0x80041010. My research suggests this is either
because something is misspelled in the WMI query, or that the Class doesn™t even
exist in the given namespace. I tried running it on the server itself, but same
result. Then I opened Scriptomatic V2 and selected the Root/MicrosoftExchangeV2
namespace, and sure enough, Exchange_PublicFolder does not show up as a class in
that namespace. So I guess that™s why the error happens, but how do I fix it?
Script is below¦
Thanks!
strComputerName =
"myServer"
strPubFolderPath =
"/Public Folders/All Public Folders/HR
Managers/"
strE2K3WMIQuery =
"winmgmts://" & strComputerName &
"/root/MicrosoftExchangeV2"
' query for the
specific folder we
want
Set wmiService =
GetObject(strE2K3WMIQuery)
query = "Select * From
Exchange_PublicFolder" & " Where Path='" & strPubFolderPath &
"'"
Set targetFolder =
wmiService.ExecQuery(query)
' report on the
mail-enabled status, then toggle
it
For Each folder In
targetFolder
If folder.IsMailEnabled
Then
WScript.Echo folder.Name & " is mail-enabled as " &
folder.TargetAddress
Else
WScript.Echo folder.Name & " is not
mail-enabled"
End
If
Next
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Al
MulnickSent: Thursday,
December 22, 2005 8:38 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this
Exchange task?
IIRC, it's
Public Folders/All Public Folders/HR
Managers/HR001
Al
On 12/22/05, Creamer, Mark CreamerM@xxxxxxxxxx> wrote:
Thanks Tony. One
question if someone knows¦
Below is an excerpt
from the script. What should the syntax for the
be?
' This code toggles the
mail-enabled status of the selected folder.
' ------ SCRIPT
CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joeSent: Thursday, 22 December 2005 9:13
a.m.To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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.
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. | | | |
| amulnick
Posts:127
 | | 12/22/2005 7:01 AM |
| Or have a look at the WMI explorer
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=6430F853-1120-48DB-8CC5-F2ABDC3ED314
To find that object.
al
On 12/22/05, Creamer, Mark wrote: I think I'm pretty close on this, but am unable to get past an error. When I run the script (which initially I configured to only tell me whether or not the various folders are mail-enabled), I get an error 0x80041010. My research suggests this is either because something is misspelled in the WMI query, or that the Class doesn't even exist in the given namespace. I tried running it on the server itself, but same result. Then I opened Scriptomatic V2 and selected the Root/MicrosoftExchangeV2 namespace, and sure enough, Exchange_PublicFolder does not show up as a class in that namespace. So I guess that's why the error happens, but how do I fix it? Script is below¦
Thanks!
strComputerName = "myServer"
strPubFolderPath = "/Public Folders/All Public Folders/HR Managers/"
strE2K3WMIQuery = "winmgmts://" & strComputerName & "/root/MicrosoftExchangeV2"
' query for the specific folder we want
Set wmiService = GetObject(strE2K3WMIQuery)
query = "Select * From Exchange_PublicFolder" & " Where Path='" & strPubFolderPath & "'"
Set targetFolder = wmiService.ExecQuery(query)
' report on the mail-enabled status, then toggle it
For Each folder In targetFolder
If folder.IsMailEnabled Then
WScript.Echo folder.Name & " is mail-enabled as " & folder.TargetAddress
Else
WScript.Echo folder.Name & " is not mail-enabled"
End If
Next
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Al MulnickSent: Thursday, December 22, 2005 8:38 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this Exchange task?
IIRC, it's
Public Folders/All Public Folders/HR Managers/HR001
Al
On 12/22/05, Creamer, Mark wrote:
Thanks Tony. One question if someone knows¦
Below is an excerpt from the script. What should the syntax for the be?
' This code toggles the mail-enabled status of the selected folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of joeSent: Thursday, 22 December 2005 9:13 a.m.To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject:
[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.
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. | | | |
| CreamerM@xxxx.yyy
 | | 12/22/2005 7:15 AM |
| No, actually 2000, at least on the
Exchange server hosting the public folders. There are a couple of them which
are 2003. Earlier posters only mentioned this not working with 5.5, which I do
not have. Will this not work with 2000?
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Michael B. Smith
Sent: Thursday, December 22, 2005
1:47 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] AD or is
this Exchange task?
You are Exchange Server 2003, right?
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, Mark
Sent: Thursday, December 22, 2005
1:39 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] AD or is
this Exchange task?
I think I™m pretty close on this,
but am unable to get past an error. When I run the script (which initially I
configured to only tell me whether or not the various folders are
mail-enabled), I get an error 0x80041010. My research suggests this is either
because something is misspelled in the WMI query, or that the Class
doesn™t even exist in the given namespace. I tried running it on the
server itself, but same result. Then I opened Scriptomatic V2 and selected the
Root/MicrosoftExchangeV2 namespace, and sure enough, Exchange_PublicFolder does
not show up as a class in that namespace. So I guess that™s why the error
happens, but how do I fix it? Script is below¦
Thanks!
strComputerName =
"myServer"
strPubFolderPath = "/Public
Folders/All Public Folders/HR
Managers/"
strE2K3WMIQuery = "winmgmts://"
& strComputerName & "/root/MicrosoftExchangeV2"
' query for the specific folder we
want Set wmiService = GetObject(strE2K3WMIQuery) query = "Select * From
Exchange_PublicFolder" & " Where Path='" &
strPubFolderPath &
"'" Set targetFolder =
wmiService.ExecQuery(query)
' report on the mail-enabled status, then
toggle
it For Each folder In
targetFolder
If folder.IsMailEnabled
Then
WScript.Echo folder.Name & " is mail-enabled as " &
folder.TargetAddress
Else
WScript.Echo folder.Name & " is not
mail-enabled"
End
If Next
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al Mulnick
Sent: Thursday, December 22, 2005
8:38 AM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: Re: [ActiveDir] AD or is
this Exchange task?
IIRC, it's
Public Folders/All Public Folders/HR
Managers/HR001
Al
On 12/22/05, Creamer,
Mark
wrote:
Thanks Tony. One question if someone knows¦
Below is an excerpt from the script. What should the syntax
for the be?
' This code toggles the mail-enabled status of the selected
folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = "" strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tony Murray
Sent: Wednesday, December 21, 2005
4:38 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of joe
Sent: Thursday, 22 December 2005
9:13 a.m.
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, Mark
Sent: Wednesday, December 21, 2005
2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
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.
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 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. | | | |
| amulnick
Posts:127
 | | 12/22/2005 7:34 AM |
| Wonder if you can run it against the hierarchy though by running it on the 2003 server vs. the 2000?
If not, you'll have to drop back to cdoexm most likely.
On 12/22/05, Creamer, Mark wrote: No, actually 2000, at least on the Exchange server hosting the public folders. There are a couple of them which are 2003. Earlier posters only mentioned this not working with
5.5, which I do not have. Will this not work with 2000?
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Michael B. SmithSent: Thursday, December 22, 2005 1:47 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx
Subject: RE: [ActiveDir] AD or is this Exchange task?
You are Exchange Server 2003, right?
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, MarkSent: Thursday, December 22, 2005 1:39 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject:
RE: [ActiveDir] AD or is this Exchange task?
I think I'm pretty close on this, but am unable to get past an error. When I run the script (which initially I configured to only tell me whether or not the various folders are mail-enabled), I get an error 0x80041010. My research suggests this is either because something is misspelled in the WMI query, or that the Class doesn't even exist in the given namespace. I tried running it on the server itself, but same result. Then I opened Scriptomatic V2 and selected the Root/MicrosoftExchangeV2 namespace, and sure enough, Exchange_PublicFolder does not show up as a class in that namespace. So I guess that's why the error happens, but how do I fix it? Script is below¦
Thanks!
strComputerName = "myServer"
strPubFolderPath = "/Public Folders/All Public Folders/HR Managers/"
strE2K3WMIQuery = "winmgmts://" & strComputerName & "/root/MicrosoftExchangeV2"
' query for the specific folder we want
Set wmiService = GetObject(strE2K3WMIQuery)
query = "Select * From Exchange_PublicFolder" & " Where Path='" & strPubFolderPath & "'"
Set targetFolder = wmiService.ExecQuery(query)
' report on the mail-enabled status, then toggle it
For Each folder In targetFolder
If folder.IsMailEnabled Then
WScript.Echo folder.Name & " is mail-enabled as " & folder.TargetAddress
Else
WScript.Echo folder.Name & " is not mail-enabled"
End If
Next
From:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Al MulnickSent: Thursday, December 22, 2005 8:38 AMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this Exchange task?
IIRC, it's
Public Folders/All Public Folders/HR Managers/HR001
Al
On 12/22/05, Creamer, Mark wrote:
Thanks Tony. One question if someone knows¦
Below is an excerpt from the script. What should the syntax for the be?
' This code toggles the mail-enabled status of the selected folder.
' ------ SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx]
On Behalf Of joeSent: Thursday, 22 December 2005 9:13 a.m.To:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject:
[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.
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 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. | | | |
| listmail
Posts:429
 | | 12/22/2005 7:53 AM |
| Yeah, quite a bit of the cool Exchange WMI stuff was
new for E2K3 and gone for E12. ;o)
This is direction is good, let's go that way. We will be
able to do all sorts of cool things and it is standard!
Ouch, this is picky and I keep getting thorns in my butt...
That other direction looks good and it is standard!......
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al
MulnickSent: Thursday, December 22, 2005 2:28 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this
Exchange task?
Good catch. No, it's new for 2003
http://msdn.microsoft.com/library/default.asp?url=""
Wonder if you can run it against the hierarchy though by running it on the
2003 server vs. the 2000?
If not, you'll have to drop back to cdoexm most likely.
On 12/22/05, Creamer,
Mark
wrote:
No, actually 2000, at
least on the Exchange server hosting the public folders. There are a couple of
them which are 2003. Earlier posters only mentioned this not working with 5.5,
which I do not have. Will this not work with 2000?
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Michael B. SmithSent: Thursday, December 22, 2005 1:47 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx Subject: RE: [ActiveDir] AD or is this
Exchange task?
You are Exchange
Server 2003, right?
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, MarkSent: Thursday, December 22, 2005 1:39
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] AD or is this
Exchange task?
I think I'm pretty
close on this, but am unable to get past an error. When I run the script
(which initially I configured to only tell me whether or not the various
folders are mail-enabled), I get an error 0x80041010. My research suggests
this is either because something is misspelled in the WMI query, or that the
Class doesn't even exist in the given namespace. I tried running it on the
server itself, but same result. Then I opened Scriptomatic V2 and selected the
Root/MicrosoftExchangeV2 namespace, and sure enough, Exchange_PublicFolder
does not show up as a class in that namespace. So I guess that's why the error
happens, but how do I fix it? Script is below¦
Thanks!
strComputerName =
"myServer"
strPubFolderPath =
"/Public Folders/All Public Folders/HR
Managers/"
strE2K3WMIQuery =
"winmgmts://" & strComputerName & "/root/MicrosoftExchangeV2"
' query for the
specific folder we
want
Set wmiService =
GetObject(strE2K3WMIQuery)
query = "Select *
From Exchange_PublicFolder" & " Where Path='" & strPubFolderPath &
"'"
Set targetFolder =
wmiService.ExecQuery(query)
' report on the
mail-enabled status, then toggle
it
For Each folder In
targetFolder
If folder.IsMailEnabled
Then
WScript.Echo folder.Name & " is mail-enabled as " &
folder.TargetAddress
Else
WScript.Echo folder.Name & " is not
mail-enabled"
End
If
Next
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al MulnickSent: Thursday, December 22, 2005 8:38
AMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this
Exchange task?
IIRC,
it's
Public Folders/All Public Folders/HR
Managers/HR001
Al
On
12/22/05, Creamer, Mark CreamerM@xxxxxxxxxx> wrote:
Thanks Tony. One
question if someone knows¦
Below is an excerpt
from the script. What should the syntax for the
be?
' This code
toggles the mail-enabled status of the selected folder.
' ------
SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joeSent: Thursday, 22 December 2005 9:13
a.m.To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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.
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 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. | | | |
| michael@xxxx.yyy
 | | 12/22/2005 8:05 AM |
| You should be able to run it on any Exchange 2003 Server
that hosts a PF store. From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx
[mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al
MulnickSent: Thursday, December 22, 2005 2:28 PMTo:
ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this
Exchange task?
Good catch. No, it's new for 2003
http://msdn.microsoft.com/library/default.asp?url=""
Wonder if you can run it against the hierarchy though by running it on the
2003 server vs. the 2000?
If not, you'll have to drop back to cdoexm most likely.
On 12/22/05, Creamer,
Mark
wrote:
No, actually 2000, at
least on the Exchange server hosting the public folders. There are a couple of
them which are 2003. Earlier posters only mentioned this not working with 5.5,
which I do not have. Will this not work with 2000?
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Michael B. SmithSent: Thursday, December 22, 2005 1:47 PM
To: ActiveDir@xxxxxxxxxxxxxxxxxx Subject: RE: [ActiveDir] AD or is this
Exchange task?
You are Exchange
Server 2003, right?
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, MarkSent: Thursday, December 22, 2005 1:39
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: RE: [ActiveDir] AD or is this
Exchange task?
I think I'm pretty
close on this, but am unable to get past an error. When I run the script
(which initially I configured to only tell me whether or not the various
folders are mail-enabled), I get an error 0x80041010. My research suggests
this is either because something is misspelled in the WMI query, or that the
Class doesn't even exist in the given namespace. I tried running it on the
server itself, but same result. Then I opened Scriptomatic V2 and selected the
Root/MicrosoftExchangeV2 namespace, and sure enough, Exchange_PublicFolder
does not show up as a class in that namespace. So I guess that's why the error
happens, but how do I fix it? Script is below¦
Thanks!
strComputerName =
"myServer"
strPubFolderPath =
"/Public Folders/All Public Folders/HR
Managers/"
strE2K3WMIQuery =
"winmgmts://" & strComputerName & "/root/MicrosoftExchangeV2"
' query for the
specific folder we
want
Set wmiService =
GetObject(strE2K3WMIQuery)
query = "Select *
From Exchange_PublicFolder" & " Where Path='" & strPubFolderPath &
"'"
Set targetFolder =
wmiService.ExecQuery(query)
' report on the
mail-enabled status, then toggle
it
For Each folder In
targetFolder
If folder.IsMailEnabled
Then
WScript.Echo folder.Name & " is mail-enabled as " &
folder.TargetAddress
Else
WScript.Echo folder.Name & " is not
mail-enabled"
End
If
Next
From: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Al MulnickSent: Thursday, December 22, 2005 8:38
AMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: Re: [ActiveDir] AD or is this
Exchange task?
IIRC,
it's
Public Folders/All Public Folders/HR
Managers/HR001
Al
On
12/22/05, Creamer, Mark CreamerM@xxxxxxxxxx> wrote:
Thanks Tony. One
question if someone knows¦
Below is an excerpt
from the script. What should the syntax for the
be?
' This code
toggles the mail-enabled status of the selected folder.
' ------
SCRIPT CONFIGURATION ------
strComputerName = ""
strPubFolderPath = ""
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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of Tony MurraySent: Wednesday, December 21, 2005 4:38
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On Behalf Of joeSent: Thursday, 22 December 2005 9:13
a.m.To: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: 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: ActiveDir-owner@xxxxxxxxxxxxxxxxxx [mailto:
ActiveDir-owner@xxxxxxxxxxxxxxxxxx] On
Behalf Of Creamer, MarkSent: Wednesday, December 21, 2005 2:59
PMTo: ActiveDir@xxxxxxxxxxxxxxxxxxSubject: [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.
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 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. | | | |
|
|