fixfsmo.vbs in PowerShell
I wrote the equivalent of fixfsmo.vbs in PowerShell: Fix-InvalidFsmo.ps1. For those who don't know anything about it, this is a refresher:
- Error message when you run the "Adprep /rodcprep" command in Windows Server 2008: "Adprep could not contact a replica for partition DC=DomainDnsZones,DC=Contoso,DC=com" https://support.microsoft.com/kb/949257
It does not use Active Directory Web Services therefore works in a full Windows Server 2003 environment (note that you can have the Active Directory Web Services in such an environment through the gateway).
Yours to download, try, review, rate and comment:
- Fix Invalid fSMORoleOwner for application naming context with PowerShell https://gallery.technet.microsoft.com/Fix-Invalid-fSMORoleOwner-00e29f11