Author: Harri Jaakkonen

Transfer SQL Logins and their passwords.

Hi again, Done this multiple times, but thought it would be wisdom to share it. Remember this wont be necessary in SQL 2012 and higher because they save users and password directly to the user database not the master database….

Continue Reading Transfer SQL Logins and their passwords.

Emergency calls with Lync in Finland

Hi all, Today I go local. Sorry all readers outside Finland 😉 Today I got to solve a problem with emergency calls in Finland. 1. Create normalization rule that allows user to dial 112, but transform it to… +3979CountyNumber112 List…

Continue Reading Emergency calls with Lync in Finland

Lync edge and broken replication with CMS.

Hi all, Yesterday a customer had a problem with Edge replication from Central Management Store (CMS) So installed Lync Logging Tools from   http://www.microsoft.com/en-us/download/details.aspx?id=35453 And then started OCSLogger.exe on Frontend to see what was wrong. And started initated replication with…

Continue Reading Lync edge and broken replication with CMS.

Find all numbers assigned in Lync.

Hi again, This was an excellent script to find all Line Uri’s assigned in Lync for users, response groups and dialin. http://tomtalks.uk/2013/07/get-lyncnumberassignment-find-lync-usersobjects-by-phone-numberlineuri-powershell/

Continue Reading Find all numbers assigned in Lync.

Direct Access and wrong DTE addresses and how to fix ’em.

Yesterday I got a request to seek and change two DTE ip-addresses. Only problem was that these ip’s were generated by Direct Access setup wizard. So they appeared as Extra Registry Settings:   No worries. These are written to registry.pol:…

Continue Reading Direct Access and wrong DTE addresses and how to fix ’em.

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.