Author: Harri Jaakkonen

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.

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.