Microsoft Exchange Server 2010
Most of my work being in Identity Management, I usually try to load as many components as I can onto a single virtual machine instance. For example: Having Oracle Identity Manager alone doesn't help me much, unless I can test provisioning to Active Directory, Exchange, Oracle Database etc.
However, the downside is that each of these services typically use a LOT of memory and so I usually install them and shut them down till required. Most services (like an Oracle Database) are easy to bring up when necessary. However, I didn't find an easy way to shut down or start up Exchange services and so decided to write my own - especially since there are about 23 services that Exchange runs! I also didn't want to have a script shutting down each of the services individually.
From what I was able to analyze, the service hierarchy is as shown below.
- Microsoft Exchange Active Directory Topology Service
- Exchange Address Book Service
- Exchange Anti-Spam Update
- Exchange EdgeSync Service
- Exchange File Distribution Service
- IMAP4
- Mail Submission
- Mailbox Assistants
- Mailbox Replication
- POP3
- Protected Service Host
- Replication Service
- RPC Client Access Service
- Search Indexer
- Service Host
- Throttling
- Transport
- Transport Log Search
- Forms-Based Authentication Service
- Exchange Server Extension for Windows Server Backup
- Exchange Monitoring Service
- Exchange Information Store
- Exchange System Attendant
Type the following into notepad and save it as a .bat file and execute.
net stop MSExchangeADTopology /y
net stop MSExchangeFBA
net stop wsbexchange
net stop MSExchangeMonitoring
net stop MSExchangeIS
net stop MSExchangeSA
Memory usage with Exchange running: 1.09GB
Memory usage after Exchange was shut down: 552 MB
That saves me a cool half gig of RAM! :-)