Lync and IIS ARR (Application Routing Request)

Hi all, Glad to see many has found my blog and that is why it’s nice to share things 🙂 Yesterday I installed an reverse proxy with IIS AAR 3.0 on Windows Server 2012 R2. Word of advice on this…

Continue Reading Lync and IIS ARR (Application Routing Request)

Clear Exchange 2013 Log Files based on age.

Clear logs in a single Exchange 2013 Server: Set-Executionpolicy RemoteSigned $days=30 #You can change the number of days here $IISLogPath=”C:inetpublogsLogFiles” $ExchangeLoggingPath=”C:Program FilesMicrosoftExchange ServerV15Logging” Write-Host “Removing IIS and Exchange logs; keeping last” $days “days” Function CleanLogfiles($TargetFolder) {     if (Test-Path $TargetFolder)…

Continue Reading Clear Exchange 2013 Log Files based on age.

After Cumulative Updates in Exchange 2013 ECP and OWA will be broken … sometimes?

Mr. Exchange Server Pro Paul Cunningham wrote a guide for updating single servers and dag servers. http://exchangeserverpro.com/exchange-2013-installing-cumulative-updates/ After applying updates to Exchange 2013 environment. You will sometimes (yes not all the time) that EAC and OWA will break. Either displaying…

Continue Reading After Cumulative Updates in Exchange 2013 ECP and OWA will be broken … sometimes?

Windows Server 2008/2012/2012 R2 – Automatic Reboot after Updates if users logged in

After applying updates Windows Server will want to restart in 15 minutes if you have logged on users. And there is no way to postpone it. shutdown -a wont work either.   This is because the reboot process has been…

Continue Reading Windows Server 2008/2012/2012 R2 – Automatic Reboot after Updates if users logged in

Renew CA-ROOT and crl lists to use with Forefront UAG Direct Access.

And hi again. Today a customer had problems with Forefront AUG Direct Access. Recently they had renewed CA-Root -certificate and then crl and delta crl -lists got renewed also with name ca-root(1).crl and ca-root(1)+.crl They are using a internal CA-Root…

Continue Reading Renew CA-ROOT and crl lists to use with Forefront UAG Direct Access.

Add or Remove Bulk permissions to Exchange mailboxes.

Lets see How to Change Calendar Permissions in Bulk . To Restrict Free/busy or Allow Free/busy How to Get Calendar Permissions For a Specific Mailbox ? Default Calendar permissions of a Mailbox Get-MailboxFolderPermission –Identity “EmailAddress”:calendar |fl How to Change (Allow/Restrict)…

Continue Reading Add or Remove Bulk permissions to Exchange mailboxes.

Increase the maximum MAPI session limit from 32 concurrent to 5000 concurrent

Outlook 2013 works differently, but Legacy clients need modifications to server side. In Exchange 2013: Create Throttling Policy and apply it to all mailboxes:

Then add registry key (below is for 5000 concurrent connections): [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem]”Maximum Allowed Sessions Per User”=dword:00001388…

Continue Reading Increase the maximum MAPI session limit from 32 concurrent to 5000 concurrent

get-aduser old mail-attribute and set-aduser to a new one and keeping the old prefix.

So you have generated users in your ad that you want to move to Office 365. Before you dirsync the user to the Cloud you can change mail-attribute. But after the user in synced to Office365 you cannot do this…

Continue Reading get-aduser old mail-attribute and set-aduser to a new one and keeping the old prefix.

Export biggest mailbox users with attributes to csv!

This is how: Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Select DisplayName,servername,database,StorageLimitStatus, @{name=”TotalItemSize (MB)”;expression={[math]::Round((($_.TotalItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},@{name=”TotalDeletedItemSize (MB)”;expression={[math] ::Round((($_.TotalDeletedItemSize.Value.ToString()).Split(“(“)[1].Split(” “)[0]. Replace(“,”,””)/1MB),2)}},ItemCount,DeletedItemCount | Sort “TotalItemSize (MB)”  -Descending | Export-CSV “C:dirAll Mailboxes_120814.csv” -NoTypeInformation Love it!

Continue Reading Export biggest mailbox users with attributes to csv!

CRM 2013 sp1 and a new List component

Hi again, Today I got in the middle of a problem. CRM client told me:   But at the same time Web interface was working correctly. After some investigation i found that CRM for Outlook version have been updated to…

Continue Reading CRM 2013 sp1 and a new List component