Archiv rubriky: Powershell

Exchange DB Size, Sum of size, the largest mailboxes

********************** Windows PowerShell Transcript Start Start time: 20130131102344 Username : vdi.lab\amasv Machine : EX2010-2 (Microsoft Windows NT 6.1.7600.0) ********************** Transcript started, output file is C:\Users\amasv\Documents\PowerShell_transcript.20130131102344.txt [PS] C:\Windows\system32>Get-MailboxDatabase -Status | select ServerName,Name,DatabaseSize ServerName Name DatabaseSize ———- —- ———— EX2010-2 DB1 24.76 … Celý příspěvek

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem Exchange DB Size, Sum of size, the largest mailboxes

Powershell – get true verison of MS Exchange 2010

run as Administrator – powershell with exchange module (gcm exsetup).FileVersionInfo get-command exsetup | fl FileVersionInfo  

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem Powershell – get true verison of MS Exchange 2010

Powershell – output

If you have a problem with size of powershell command output take this get-process | ft processname -autosize or get-process | ft processname -autosize | out-file -width 1000 -filepath   next nice output feature is out-gridview start powershell as administrator  and … Celý příspěvek

Rubriky: Powershell | Komentáře nejsou povolené u textu s názvem Powershell – output

MS Exchange 2010 Message tracking log – send, receive message

here is a realy good web site with useful commands http://exchangeserverpro.com/exchange-2010-message-tracking-log-search-powershell [PS] C:\Windows\system32>$start=(get-date).addDays(-1) [PS] C:\Windows\system32>$end=(ged-date)example 1: Get-MessageTrackingLog -ResultSize Unlimited | Group-Object -Property:EventId | Sort-Object Count -Desc | Select Name,Count example 2: Get-TransportServer | Get-MessageTrackingLog -ResultSize unlimited  -Start $start -End $end … Celý příspěvek

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem MS Exchange 2010 Message tracking log – send, receive message

Number of mailboxes in specific databases – MS Exchange

[PS] C:\xxxxxx>Get-MailboxDatabase *sk* | Select-Object Name,status,@{Name=“Number of users“;Expression={(Get-Mailbox -Database $_.name).Count}} Name                                    status                       … Celý příspěvek

Rubriky: Exchange Server / Exchange Online, Powershell | Komentáře nejsou povolené u textu s názvem Number of mailboxes in specific databases – MS Exchange