How do I check the current state of my DFS replicated folders?

Run the below command:

Wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo get replicationgroupname,replicatedfoldername,state

The state codes are as below:
0: Uninitialized
1: Initialized
2: Initial Sync
3: Auto Recovery
4: Normal
5: In Error

You can also check the backlog using this command:

dfsrdiag backlog /rgname:REPGroup1 /rfname:REPFolder1 /smem:SendingServer01 /rmem:ReceivingServer01

You can run this command any time to force an update in the DFS replication event log to see if the status has changed:dfsrdiag pollad