Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

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}

Microsoft Exchange 2010 – Ahsay restore to recovery mailbox database / storage group.

Friday, September 9th, 2011 Posted in Ahsay | No Comments »

Ahsay have no support for native restore to Exchange recovery group, but here is a workaround of that problems. First create a recovery storagegroup New-MailboxDatabase -Recovery -Name RDB1 -Server exch2010 -EdbFilePath "F:\Backup\Restore\Data\rdb1.edb" -LogFolderPath "F:\Backup\Restore\Log" Where RDB1 is the name of the Recovery database ...

Get all mailboxes that have this domain in there primary email address

Wednesday, May 11th, 2011 Posted in Exchange | No Comments »

GET-MAILBOX * | where { $_.PrimarySMTPAddress.Domain -eq 'kennethdalbjerg.dk' }

Roles to be installed before Exchange 2010 SP1

Friday, April 29th, 2011 Posted in Exchange, Windows | 1 Comment »

Start powershell and run import-module servermanager Then run Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

Active Sync – Unexpected Exchange mailbox Server (Exchange 2003)

Tuesday, February 15th, 2011 Posted in Exchange, Windows | No Comments »

Unexpected Exchange mailbox Server error: Server: [server01.XXXX.XX] User: [XXX@XXXX.XX] HTTP status code: [503]. Verify that the Exchange mailbox Server is working correctly. If you got this error, please follow this steps: Try disabling the firewall Reset Exchange Folder in IIS - http://support.microsoft.com/kb/883380 (Dont ...

Give all users access to all mailbox calendar

Monday, February 14th, 2011 Posted in Exchange, Powershell | No Comments »

foreach ($Mailbox in (Get-Mailbox -ResultSize Unlimited)) { Add-MailboxFolderPermission -identity "$($Mailbox.Name):\calendar" -AccessRights Author -User default }

Exchange Room Mailbox automatic deletes calendar appointments

Monday, February 14th, 2011 Posted in Exchange | No Comments »

If you have created a room mailbox, and want to create appointments directly in the calendar of the room mailbox, then you need to: Enable the user in Active Directory Set the password of the user Log on to a workstation with that ...