Quantcast
Channel: artigos TechNet
Viewing all articles
Browse latest Browse all 8688

Comando para saber quantas mensagens há na fila de um Exchange Server 2003 usando WMI

$
0
0
Revisão Atual postado em artigos TechNet por Daniel de Souza Lima em 10/4/2014 10:54:19
O uso de powershell no Windows e em outros produtos Microsoft, melhoraram tarefas administrativas e deram mais poder aos administradores. Especialmente na familia Exchange o powershell trouxe muitos ganhos. Mas como fazer para obter informações sem o powershell? Muitas vezes o WMI consegue nos fornecer certas informações. Abaixo há um script que utilizei para coletar a fila dos front-ends servers em uma orgazinação Exchange Server 2003:

$Exchange2003Server = "NOME_SERVER01","NOME_SERVER02"
Get-WmiObject -namespace "root\MicrosoftExchangeV2" Exchange_SMTPQueue -computername $Exchange2003Server | ft -autosize __SERVER,QueueName,MessageCount >> C:\Filas_NOME_SERVER01_NOME_SERVER02.txt
Tags: Exchange 2003

Viewing all articles
Browse latest Browse all 8688


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>