Solved

Running a process directly within Exchange server.

Posted on 2011-03-14
5
323 Views
Last Modified: 2012-05-11
Hi,

I've got a VBS script (See Running VBS script unattended with no Outlook open.), which I would like to somehow incorporate into exchange server, rather than having to run this as a workstation.

Does Exchange have any sort of scripting support? Assume that I have permission to do so, just not the ability. Yet.

There are various tasks I'd like to be able to do without having to have Outlook running on a workstation within an administrator context (or at least a context high enough to be able to access all mailboxes).

The script would be running against mailboxes, specifically extracting all attachments and storing those of specific types (PDF, DOC, XLS and images) within our document management system.

Sure we can buy something, but what's the fun in that!

If there is native scripting support, is there COM for Exchange? I already use COM via PHP for Excel, Word and Crystal Reports - but these are user tools, not server apps.

This may be a non-starter and if so, that's fine.

VBS/VBA (learning so probably a LOT of questions) or COM (via PHP - fewer questions on the COM specifics for Exchange).

Thank you.

Richard Quadling.
0
Comment
Question by:Richard Quadling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 74

Assisted Solution

by:Glen Knight
Glen Knight earned 250 total points
ID: 35127361
Hey Richard,

Firstly and most importantly, which version of Exchange Server?

Exchange 2007/2010 has PowerShell support, and you can use Exchange scripts to extract data from mailboxes.

There is a certain amount of scripting you can do with Exchange 2003.
0
 
LVL 40

Author Comment

by:Richard Quadling
ID: 35128896
Exchange 2007.

And learning PowerShell is certainly one thing I need to do if I want to knock C-D off his perch.

0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 250 total points
ID: 35145159
various scripting methods works against EX07.  But powershell and the EWS API are the two that translate to EX10 and beyond.

for " specifically extracting all attachments and storing those of specific types (PDF, DOC, XLS and images) within our document management system." I suspect that the EWS API is the most likely to be successful as it is an extension to Dot.Net.
Lots of examples in c# particularly.  I have a C# app running on the server that processes a public folder tree, saving all attachments above 75k to the file system and deleting them from messages.  
0
 
LVL 40

Author Comment

by:Richard Quadling
ID: 35496744
Sorry for not replying. Work moves way to quickly sometimes.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you have clients or friends from around the world, it becomes a challenge to arrange a meeting or effectively manage your time. This is where Outlook's capability to show 2 time zones in one calendar comes in handy.
In-place Upgrading Dirsync to Azure AD Connect
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question