Kenneth Qvistgaard Dalbjerg, IT Konsulent i århus
Citrix Certified

Powershell get all users with title = “Interneservices” – Search on title on get-user

Thursday, January 27th, 2011 Posted in Powershell | No Comments »

get-user -filter {Title -eq "InterneServices"} | select name

Powershell – Get Mailbox permission search on title = InterneServices

Thursday, January 27th, 2011 Posted in Powershell | No Comments »

$File = "C:\ita\fulldadgang-services.txt" $AllUsers = get-user -filter {Title -eq "InterneServices"} | select name $AllUsers | Foreach { echo "" echo "" echo "" echo $_.name Get-MailboxPermission -identity $_.name } | out-File $File

Powershell – Get-DistributionGroup with all email addressess

Thursday, January 27th, 2011 Posted in Powershell | No Comments »

$File = "C:\ita\groupslog.txt" Get-DistributionGroup | select name , alias ,displayname,EmailAddresses | foreach { “Name: “+$_.name “Alias: “+$_.alias “Displayname“ +$_.displayname $_.EmailAddresses | foreach { if($_.SmtpAddress){ “SmtpAddress: “+$_.SmtpAddress } } } | out-File $File

howto export mailbox size to CSV file Exchange 2007/2010

Tuesday, December 7th, 2010 Posted in Exchange | No Comments »

Howto Export all mailbox'es and there size to a CSV file get-mailbox | get-mailboxstatistics | select-object DisplayName,TotalItemSize,StorageLimitStatus,LastLogonTime | Export-Csv c:\exchange.csv

Test Exchange remote connectivity

Tuesday, November 9th, 2010 Posted in Computer, Exchange, Windows | No Comments »

Microsoft have launch a new webpage to test Exchange remote connectivity. It can test: ActiveSync Activesync autodiscover Outlook autodiscover Microsoft Exchange Web Services Connectivity Tests Outlook Anywhere (RPC over HTTP) Inbound SMTP E-Mail Outbound SMTP E-Mail https://www.testexchangeconnectivity.com/

A problem occurred while trying to use your mailbox

Thursday, November 4th, 2010 Posted in Exchange, Windows | No Comments »

Today i have a user that could get access to the exchange webmail. (OWA). There are som solutions for this error, try to fix from bullet number 1, and down. Get-Mailbox User_Name | format-list ExchangeVersion if the version is below 0.1 the run ...

Export Exchange 2007/2010 tracking log

Wednesday, September 1st, 2010 Posted in Computer, Exchange, Windows | No Comments »

To export Exchange 2007/2010 tracking log to a Excel, just run this command. get-messagetrackinglog -Start "31-08-2010 00:00:00" -End "01-09-2010 12:16:00" -resultsize Unlimited | select-object Timestamp,ClientIp,ClientHostname,ServerIp,ServerHostname,SourceContext,ConnectorId,Source,EventId,InternalMessageId,MessageId,TotalBytes,RecipientCount,MessageSubject,Sender,ReturnPath,@{Name="Recipients";Expression={$_.recipients}},MessageInfo | Export-Csv It will export all mails from 31/8-2010 to 1/9-2010, with the selected fiels.

Outlook crash on opening a shared calendar

Thursday, April 29th, 2010 Posted in Exchange | No Comments »

I have a problems today with an Outlook that keeps crash sometimes when a user is opening a share calendar. I tested it on my test machine and when the user opening the shared calendar at my test machine my ...

Delegates (Stedfortræder) problems in outlook

Thursday, April 29th, 2010 Posted in Exchange, Windows | No Comments »

The error messages in Danish: Indstillingerne for stedfortrædere blev ikke gemt korrekt. send på vegne af-liste kunne ikke aktiveres. Du har ikke den nødvendige tilladelse til at udføre denne handling på objektet. The error messages in English: The Delegates settings were not saved ...

One user not slowing up in Offline Address List

Monday, February 2nd, 2009 Posted in Exchange, Windows | 1 Comment »

I have today a problems with one user that we have rename from one name to another, was missing from the address list in Outlook. The problems was that if the E-mail address in Active Directory Users and Computers, under tag ...