Migrate two different Exchange forest with the same netbios name to Office 365 with dirsync.

Our customer has two forests. And they have the same netbios name. So no forest trust then. One of them with users and computers and the other with different usernames and their mailboxes. The dilemma is to migrate them to…

Continue Reading Migrate two different Exchange forest with the same netbios name to Office 365 with dirsync.

How to migrate CA Root from server to another

This article shows you exactly how to migrate CA Root to another server. The new server can be anything from 2008 to 2012 R2. In the Certification Authority snap-in, right-click the CA name, click All Tasks, and then click Back…

Continue Reading How to migrate CA Root from server to another

SMTP high availability with one ip address

We have a customer that needed to migrate from Exchange 2010 to Exchange 2013 and keep the old ip-address in place for smtp traffic from inside and outside. In clustered Exchange 2010 and 2013 the Primary Active Manager has the…

Continue Reading SMTP high availability with one ip address

Add SIP address to all users in certain OU

This situation may come true if you have Onpremises Exchange and Online tenant Lync. Then you need to add a SIP address with the same name as the user is in the Online tenant. And here’s the script: $mailboxes =…

Continue Reading Add SIP address to all users in certain OU

Exchange 2010 sp3 RU5 and Online tenant Hybrid

We had a customer with multiple smtp domains at onpremise Exchange. 1. First you need to add them to authorized domains in Office 365 control panel. 2. Add the given txt -records to public dns. 3. Go back to Office…

Continue Reading Exchange 2010 sp3 RU5 and Online tenant Hybrid

Removing the Temporary Attribute from Multiple Files with Powershell

I found this one very helpful in debugging DFS replication with Autodesk generated files. Autodesk products stamp a temporary mark to files it generates. And this causes DFS to stop replicating them. Run this powershell oneliner to clear out the…

Continue Reading Removing the Temporary Attribute from Multiple Files with Powershell

Can’t change Office 2013 shortcut locations in the Office Customization Tool

Well this is annoying. When try to modify Skydrive or Lync shortcuts or even add a desktop shortcut they wont work. Hopefully there is a workaround for this. Add [ to Start In -box … like this: And you have…

Continue Reading Can’t change Office 2013 shortcut locations in the Office Customization Tool

How to display only user databases in SQL

This is how: select * from sys.sysdatabases where dbid>4 and [name] not like ‘$’

Continue Reading How to display only user databases in SQL

Find SQL-database backup dates

Type this query to find them:   SELECT T1.Name as DatabaseName, COALESCE(Convert(varchar(12), MAX(T2.backup_finish_date), 101),’Not Yet Taken’) as LastBackUpTaken, COALESCE(Convert(varchar(12), MAX(T2.user_name), 101),’NA’) as UserName FROM sys.sysdatabases T1 LEFT OUTER JOIN msdb.dbo.backupset T2 ON T2.database_name = T1.name GROUP BY T1.Name ORDER BY…

Continue Reading Find SQL-database backup dates

Remote powershell to Lync 2010 / 2013 FE

Connet session: $cred = Get-Credential domainusername $session = New-PSSession -ConnectionURI “https://LYNCFE.FQDN/OcsPowershell” -Credential $cred Import-PsSession $session Disconnect session: Get-PSSession | Remove-PSSession

Continue Reading Remote powershell to Lync 2010 / 2013 FE