8 years ago
DFSR Replication Backlog
XKJNGZ
Uses Powershell to make WMI queries to get the current backlog file count for each outbound DFSR partner on each DFSR share. These queries can be expensive if the backlog is large, so...
Hi @Nicklas Karlsson and @Jonathan Hill,
So you guys are running into an issue where the datasource isn't finding any instances. That's no good!
The datasource uses remote Powershell commands from the Windows collector to the target server. I would probably start by using an RDP session to a collector and running the script from an elevated PS session. Before you run it, you'll need to modify the script to use whatever creds you have set up on that target server.
For a quick test, just check to see if these two wmi calls return anything from the remote system:
$hostname = <target Server> gwmi -Namespace "root\MicrosoftDFS" -ComputerName $hostName -Query 'SELECT * FROM DfsrReplicatedFolderInfo' gwmi -Namespace "root\MicrosoftDFS" -ComputerName $hostName -Query 'SELECT * FROM DfsrConnectionConfig WHERE Inbound = "False"'
If these two work, DM me and we can try to figure out what the issue is. I'm guessing we're running into a character limit and I need to account for that.
Thanks!