OS: Server 2012 Core and Server 2012 R2 Core. DFS-Replication is installed and appears healthy.
I am using WMI to collect information from DFSR replication members. The queries work on many of the computers, but there are a couple of replication members on which the queries do not work.
It is the DfsrReplicatedFolderInfo class from the root\MicrosoftDFS namespace.
If I execute the following Powershell command:
Get-WmiObject -Namespace 'root\MicrosoftDFS' -Class DfsrReplicatedFolderInfo
The result is null. No error, but absolutely no output.
If I execute the following corresponding wmic command:
wmic /namespace:\\root\microsoftdfs path DfsrReplicatedFolderInfo get
No Instance(s) Available.
This happens regardless of whether the commands are executed locally or remotely.
winmgmt /verifyrepository returns:
WMI repository is consistent
wbemtest, I am able to view the DfsrReplicatedFolderInfo class definition, but there appear to be no instances of it.
Other DFSR-related classes in the same namespace appear to be working correctly.