Find Lync user with specific Line Uri

Quick tip of the day! Tried this one?   Get-CsUser –Filter {LineUri –eq “TEL:+3581234567”} And got error: It won’t work. Try this one. Get-CsUser | Where-Object {$_.LineUri -like “TEL:+3581234567”} | ft -property DisplayName, LineURI And all is well!

Continue Reading Find Lync user with specific Line Uri

Sharepoint 2007 and attaching content database with SQL 2012 R2

Today I had to migrate an old wss 3.0 site to Sql 2012 R2. Made backup of the old DB and transfered it to the new server. Then restored it and tried. STSADM –o addcontentdb –url http://ssps001:7242 -databasename _wss_content_old -databaseserver…

Continue Reading Sharepoint 2007 and attaching content database with SQL 2012 R2

Exchange 2010 and error 1022

Hi all, Does this look familiar to you? No? I sure do hope you wont ever see it. But if you do there could be a different reason for it than database or logfile corruption. Today I spent a while…

Continue Reading Exchange 2010 and error 1022

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