WMI PowerShell for Exchange 2003

As a quick follow-up for the Exchange 2000/2003 PowerShell post here are a few additional references.

TechNet Script Center has a good article on WMI classes available:

To use a class in PowerShell use Get-WMIObject. For example, to get queue information run:

Get-WmiObject -ComputerName YourExchangeServer -Class Exchange_Queue

Or if you are running the script locally on Exchange server just:

Get-WmiObject -Class Exchange_Queue

To add a node with Exchange 2003 queues to PowerGUI:

  1. In PowerGUI, right-click the folder where you want to add it, and click New / Node on the shortcut menu.
  2. Type in the name you want the node to have (e.g. Exchange Queues)
  3. Pick Get-WmiObject from the Command drop-down list.
  4. Type the actual class as the Class parameter (e.g. Exchange_Queue)
  5. If running remotely, specify the Exchange server name as the Computer Name:

Adding WMI Exchange 2003 Node to PowerGUI

As result you will get a UI like the one Nicolas created for his Exchange 2003 environment.

Here’s a list of WMI classes available (linked to their respective MSDN pages):

ExchangeClusterResource Class
ExchangeConnectorState Class
ExchangeLink Class
ExchangeQueue Class
ExchangeServerState Class
Exchange_DSAccessDC Class
Exchange_FolderTree Class
Exchange_Link Class
Exchange_Logon Class
Exchange_Mailbox Class
Exchange_MessageTrackingEntry Class
Exchange_PublicFolder Class
Exchange_Queue Class
Exchange_QueueCacheReloadEvent Class
Exchange_QueuedMessage Class
Exchange_QueuedSMTPMessage Class
Exchange_QueuedX400Message Class
Exchange_QueueSMTPVirtualServer Class
Exchange_QueueVirtualServer Class
Exchange_QueueX400VirtualServer Class
Exchange_ScheduleInterval Class
Exchange_Server Class
Exchange_SMTPLink Class
Exchange_SMTPQueue Class
Exchange_X400Link Class
Exchange_X400Queue Class

Note that they will not work for Exchange 2007. WMI is no longer supported there but the good news that PowerShell provides you much more.

Tags: , , ,

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




My Recent Tweets

RSS My company’s blog

  • Fun at HostingCon 2013
    The smell of the hosting industry’s finest is in the air, and of course we sent some of the Jelastic team to attend and proudly exhibit at HostingCon 2013 this week in Austin, Texas.  From what I have been reading, there are more than 50 scheduled sessions from Sales and Marketing, Technology, Issues and Trends and [...]The post Fun at HostingCon 2013 appear […]
  • Secure Access to Your Jetty Web Application
    Today’s post focuses on the web application security related features of Jetty app server. After reading this article you should be able to configure security realms to provide authentication and access control for your Jetty web application, as well as to grant access to your app for dedicated IP-addresses only. Before we start let’s examine what Jetty real […]
  • Software Stacks Market Share: May 2013
    We are back to update you with the latest trends in software stacks popularity for May 2013. This time we decided to collect the numbers in a different way to get more accurate statistics. As you remember previously we counted the number of the environments, where each software stack was used. We’ve changed the reporting [...]The post Software Stacks Market […]
  • Setting Up a Cronjob in Jelastic Cloud
    Cronjob allows you to configure regularly scheduled tasks so that the jobs can be run automatically at a pre-set point of time. It repeats itself and does not need any regular manual instructions. Cron automates your system and can be used for quite different purposes. This wonderful tool is a standard part of all sysadmins toolkit. Also cronjob has a [...]T […]
  • How to Deploy Joget Cluster into the Cloud
    Joget Workflow is an open source platform that allows you to build enterprise web applications easily, due to its rich set of tools. It is also a rapid application development platform that provides complete agile development capabilities, including consisting of processes, forms, lists, CRUD and UI; not just back-end EAI/orchestration/integration or the tas […]
  • Liferay Cluster in the Cloud
    Liferay Portal is one of the most popular Java CMSs in the world due to its impressive ease-of-use. Since we published the tutorial on Liferay deployment to the cloud we have seen an extremely positive reaction from its community. Also we have received multiple requests from Liferay fans asking about clustering, replication and fail-over capabilities in the […]
  • Mark Zbikowski Veteran Microsoft Architect Joins Jelastic
    Jelastic already has an impressive team of advisers including Serguei Beloussov, the founder of Parallels. We also have technical geniuses who endorse and use Jelastic including the father of Java James Gosling, David Blevins who founded the TomEE project, and Michael “Monty” Widenius, the author of the original version of the open-source MySQL database and […]

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my former employer - Quest Software, or my current employer - Jelastic or anyone else for that matter. All trademarks acknowledged.

© 2007-2013 Dmitry Sotnikov

Pages

September 2007
M T W T F S S
« Aug   Oct »
 12
3456789
10111213141516
17181920212223
24252627282930

Follow

Get every new post delivered to your Inbox.

Join 67 other followers

%d bloggers like this: