Author: Harri Jaakkonen
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…
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…
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…
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 =…
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…
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…
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…
This is how: select * from sys.sysdatabases where dbid>4 and [name] not like ‘$’
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…
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