Author Archives: feadmin

Powershell to check Active Directory for Exchange version

When you install a new version of Exchange or apply a Cumulative Update certain AD attributes are updated to reflect the change.  The updates are made in three different directory partitions (also known as naming contexts): Schema, Configuration and Domain.  The following Microsoft TechNet article is a good reference for the different versions and the… Read More: Powershell to check Active Directory for Exchange version »

The request subject name is invalid or too long

I had an interesting one recently when submitting a certificate request to a Windows Certificate Authority using certreq.exe.  The error that came back was: The disposition message is “Error Parsing Request The request subject name is invalid or too long. 0x80094001 (-2146877439)” I found several links to possible solutions but, as it turns out, the problem in… Read More: The request subject name is invalid or too long »

E2013 Transaction Log files not truncating with Windows Server Backup

I helped a customer out with a problem recently.  They had been running Windows Server Backup on an Exchange 2013 CU3 server.  The backups had been configured to “VSS Full” and the scheduled jobs were showing as completing successfully.  The only issue was that the mailbox database transaction logs were not be deleted/removed by the… Read More: E2013 Transaction Log files not truncating with Windows Server Backup »

Powershell function to count files using Robocopy

Reading the post title you maybe wondering whether I’ve taken leave of my senses.  Why call Robocopy from Powershell to count files when Powershell has a perfectly good method of doing this natively? For example, (Get-ChildItem e:\powershell -Recurse -force | ?{! $_.PSIsContainer} | Measure-Object).count Well, the problem comes in when an individual file length exceeds 260… Read More: Powershell function to count files using Robocopy »

Enable Strict Replication Consistency for new DCs using Powershell

Another short blog posting (brevity is obviously my thing for 2014). I occasionally come across environments in which Strict Replication Consistency is not enabled.  This is invariably because these environment have forests that were created with Windows 2000 server, but which have subsequently been upgraded.  If you need to know more about Strict Replication Consitency… Read More: Enable Strict Replication Consistency for new DCs using Powershell »