Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Exchange: Get a list of all email address

Monday, November 25th, 2013 Posted in Exchange, Powershell | No Comments »

For en liste over alle mail adresse [crayon-53547bafcfd19189050568/] For en liste over alle mail adresse på et given domæne [crayon-53547bafcfd28214783905/]

Search exchange message tracking log for a particular subject

Monday, April 15th, 2013 Posted in Exchange | No Comments »

If you want to search Exchange log for a particular subject, or just a bite of it, you can search witch this commands. This will also export it to a nice CSV files. [crayon-53547bafd2796309010525/]

Search in Message Tracking log with wildcard

Wednesday, October 17th, 2012 Posted in Exchange | No Comments »

If you want to search the last 72 hours after mails sent to email recepitions on domain kennethdalbjerg.dk, you can run this command [crayon-53547bafd2b4e433350257/]

Get mailbox sizes and export them to CSV/Excel

Thursday, September 20th, 2012 Posted in Andet, Exchange, Powershell | No Comments »

if you want to export all you mailboxes sizes to CSV/Excel, you can run this command in you powershell: [crayon-53547bafd2f7e803539249/]

Exchange 2010 Relay

Wednesday, September 19th, 2012 Posted in Exchange | No Comments »

[crayon-53547bafd332d443367819/] The easist way is just to run this command in powershell: Where: 192.168.1.10:25 is the IP address of the Exchange server 192.168.1.20 is the ip of the clients how need access to relay server.domain.com is you exchange server FQDN MYEXCHANGESERVER is you exchange ...

Change autodiscover URL (EWS URL / OAB URL / ECP URL / Activesync URL) – Exchange 2010

Thursday, July 26th, 2012 Posted in Exchange, Powershell | No Comments »

If you want to change Autodiscover / EWS / OAB / OWA / ECP / Activesync Url, this is how it works [crayon-53547bafd3712106482622/] Or if this is a single server installation you can do it like this: [crayon-53547bafd371f498065208/]

Lost trust on my Exchange 2010 after revert to a older snapshot

Friday, May 18th, 2012 Posted in Exchange, Windows | No Comments »

I was returing to an older snapshot of my Exchange servers. But when i want to logon to the Exchange server, it came with "Trust relationship has been lost with domain controller". Normally you just rejoin the domain, but this is ...

Exchange 2010, show permission on all folders in all mailboxes

Tuesday, May 15th, 2012 Posted in Exchange, Powershell | No Comments »

Here is a script, that runs though you Exchange server, and return all permission on all folders in all mailboxes. The script needs to be running from the Exchange management Shell, and will create a subfolder in c:\ call ExchangeMailboxPermission, where ...

Exchange 2010, powershell full access and send-as permission

Monday, May 14th, 2012 Posted in Exchange | No Comments »

To get a CSV file, from you exchange with full access and send as permission, from all you mailboxes run these commands: Full Access Get-Mailbox | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,@{Name='Access Rights';Expression={[string]::join(', ', ...

Powershell: Get all email aliases for a mailbox account on Exchange 2007/2010

Monday, March 19th, 2012 Posted in Exchange | No Comments »

Get-Mailbox -id KennethDalbjerg | select-expand EmailAddresses | %{$_.SmtpAddress}