Posted in Active Directory Azure Office 365

Office 365/Azure: Force sync from Azure AD Connect to Office 365/Azure

Azure AD Connect (AAD Connect) sync runs every 30 minutes. There are some situations, where you may want to force this earlier, in ex. of…

Continue Reading
Posted in Active Directory Powershell

Powershell: How to modify login script path

When you decide that the 90’s login script, .bat, .cmd files ;), has to leave for ex. GPO Drive maps, then you can remove it…

Continue Reading
Posted in Active Directory

Active Directory: Move FSMO roles with PowerShell

When moving FSMO roles the old fashioned way, you use MMC and move the roles each individually, it takes a little time, but it’s somewhat…

Continue Reading
Posted in Active Directory

Active Directory: Changing home folder servername

When migrating filservers and you are using the “Home Folder” setting of an AD user’s object like here:   From: To: It would be great…

Continue Reading
Posted in Active Directory WIN2008R2 WIN2012R2

NTFRS replication is going AWOL

Two domain controllers have perfect replication via Active Directory, but the “File Replication Service” eventlogs, shows many errors and the NETLOGON share is missing on…

Continue Reading
Posted in Active Directory Exchange

Exchange migrated, ActiveSync not working as supposed

After a complete Exchange 2013 migration, everything works, but some users are complaining, that their mobile devices are not being updated with e-mails anymore. You…

Continue Reading
Posted in Active Directory

Change UPN (based on Primary Email) based on SMTP proxy address

During an Exchange migration, where the users have several domains spread among them, I needed to find a script that looks into the SMTP Proxyaddress…

Continue Reading
Posted in Active Directory

Create a new UPN and use it as default for all your users

If you in ex. want to enable Autodiscover for your mail clients, they need to have their e-mail as their username, and there for the…

Continue Reading